-
Notifications
You must be signed in to change notification settings - Fork 49
Cannot install with Rails 8.0.1 #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey! I experienced the same issue, but I fixed it by changing the Gemfile from: (And then do It seems to be fixed in the latest release, but running the |
Tried that solution but it did not work:
|
Seems it is at least having another error now. Could give it a try to do one of the manual installations? The source path it is looking for, I don't quite have that myself(install folder has a |
Tried that just now. Completed all the steps listed in "Manual installation" but tying to create a component fails: Tried to execute rails g ruby_ui:install with no luck either. I've hit a dead end. If you do fix this, I'll be happy to adopt the component. For the moment, I will stick wwith regular ViewComponents built by myself from scratch. Thanks for the effort anyways! |
Sadly have no other guess then, I know I get an error when I try to generate a component as well, however it still generates it properly(as far as I can see). My personal experience has been complex as well, and I would not push to use this in production anytime soon. Hopefully these hiccups are fixed soon enough. Perhaps some maintainer could shed some lights as well. |
I'll second this issue. On Mac M4 Pro, Sequoia 15.1, Ruby 3.3.6, Rails 8.0.2. Tried following the documentation and got to the instal; on run, got the following:
I tried running the suggested command (
Edit: Also tried the fix mentioned by @AcclaimedAP and got the same |
I've run in to the same issue. I think the problem is here: https://github.com/ruby-ui/ruby_ui/blob/main/ruby_ui.gemspec#L10 When I list the files in the generator directory, there's no
The gemspec is only adding |
Looks like its missing
|
...and the component js files, like https://github.com/ruby-ui/ruby_ui/blob/main/lib/ruby_ui/dropdown_menu/dropdown_menu_controller.js |
Is this issue fixed now? I still have the original issue. Following the instructions on the webpage (https://rubyui.com/docs/installation/rails_importmaps), the gem is installed in
I'm on Rails 8.0.1 and Ruby 3.3.0 |
Yeah, the fix is on main but we didn't release it yet. You will need to add to your Gemfile something like |
Hello there.
I was really looking forward to using RubyUI after reading about it but... I can't seem to make it install!
Observed problems:
bin/rails g ruby_ui:install
is not recognised as a valid command. Apparently, files installed are using rbui as parent symbol instead of ruby_ui --> advisable to update documentationbin/rails g rbui:install
process also fails claiming:What am I missing?
Environment: OS: Debian 12. Ruby 3.4.2, Rails 8.0.1. arm64 platform (Raspberry Pi5). TEste with no luck on amd64 station with no luck.
The text was updated successfully, but these errors were encountered: