sstephenson / sprockets

Rack-based asset packaging system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not find gem 'sprockets (~> 3.0) ruby' in the gems available on this machine.

rassom opened this issue · comments

commented

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 :)

Sprockets 3.0 final isn't released, try the beta version.
On Fri, Jan 30, 2015 at 1:58 PM Rasmus S notifications@github.com wrote:

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 :)


Reply to this email directly or view it on GitHub
#702.

commented

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.

commented

It did. Thanks :)

commented

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.

breaking jquery-ui stuff.

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.

commented

@josh
I'm not a super developer myself but it looks pretty good from what I understand :)

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 :)

commented

@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.