-
Notifications
You must be signed in to change notification settings - Fork 24
Could not find gem 'sprockets (~> 3.0) ruby' in the gems available on this machine. #702
Comments
Sprockets 3.0 final isn't released, try the beta version.
|
Ah - the installation instructions here https://github.com/sstephenson/sprockets are a little before their time then :) How can I reference sprockets in my gemfile to get the beta? |
gem "sprockets", "~>3.0.0.beta" should work. |
It did. Thanks :) |
Hi @josh - I tested my (Rails 4.1.9) app with 3.0.0.beta and it works great apart from breaking jquery-ui stuff. Is this something you are aware of / a general issue? If you want, I can give you access to the app repo. |
Hmm, they'll probably need to make some change to the plugin. Working on an upgrading guide right now for both app user and plugin authors. https://github.com/sstephenson/sprockets/blob/master/UPGRADING.md Let me know if you think anythings missing. |
@josh jquery-ui is an important part of most web sites/apps, I guess, so maybe somebody should point them to the fact that it's breaking. I don't know how to explain it to them so if you could ask them to test with Sprockets 3, it would be awesome, thanks :) |
@josh It could actually look like it's some jquery-ui javascript that's not working properly with Sprockets 3 even though there's no js errors in console. The CSS classes seem to be imported fine like in Sprockets 2 but the behaviour is not right. I.e. I can't use my keyboard up/down keys with jquery ui autocomplete when using Sprockets 3. That was possible with Sprockets 2. |
@josh I've looked more into it and here is an example difference between how our page is rendered with Sprockets 2 and Sprockets 3. |
Hi,
I've added sprockets to my gemfile like this
gem 'sprockets', '~> 3.0'
but get the error:Could not find gem 'sprockets (~> 3.0) ruby' in the gems available on this machine.
when running
bundle update sprockets
.Any ideas?
Thanks :)
The text was updated successfully, but these errors were encountered: