Skip to content

Commit

Permalink
update for new gem name
Browse files Browse the repository at this point in the history
  • Loading branch information
sethhorsley committed Oct 22, 2024
1 parent 4634679 commit 46fca73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/application_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def component_references(component, code_example = nil, use_component_files = fa

require "rubygems"

def component_files(component, gem_name = "rbui")
def component_files(component, gem_name = "ruby_ui")
# Find the gem specification
gem_spec = Gem::Specification.find_by_name(gem_name)
return [] unless gem_spec
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const execSync = require("child_process").execSync;

// Import rbui gem path
const outputRBUI = execSync("bundle show rbui", { encoding: "utf-8" });
const outputRBUI = execSync("bundle show ruby_ui", { encoding: "utf-8" });
const rbui_path = outputRBUI.trim() + "/**/*.rb";

const defaultTheme = require("tailwindcss/defaultTheme");
Expand Down

0 comments on commit 46fca73

Please sign in to comment.