Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

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

Closed
rassom opened this issue Jan 30, 2015 · 9 comments

Comments

@rassom
Copy link

rassom commented Jan 30, 2015

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

@josh
Copy link
Contributor

josh commented Jan 30, 2015

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.

@rassom
Copy link
Author

rassom commented Jan 30, 2015

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?

@josh
Copy link
Contributor

josh commented Jan 30, 2015

gem "sprockets", "~>3.0.0.beta"

should work.

@josh josh closed this as completed Jan 30, 2015
@rassom
Copy link
Author

rassom commented Jan 30, 2015

It did. Thanks :)

@rassom
Copy link
Author

rassom commented Jan 31, 2015

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.

@josh
Copy link
Contributor

josh commented Jan 31, 2015

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.

@rassom
Copy link
Author

rassom commented Jan 31, 2015

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

@rassom
Copy link
Author

rassom commented Jan 31, 2015

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

@rassom
Copy link
Author

rassom commented Feb 1, 2015

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants