Content
You are here:
Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration
Added by Jeremy W about 10 years ago
Everything has more or less gone okay until running the rake command, at which time I receive this error:
Could not find sprockets-2.2.2.backport2 in any of the sources
bundle update results in the following error.
Could not find gem 'sprockets (= 2.2.2.backport2) ruby' in the gems available on this machine.
Am I missing some step? Something in the Gemfile perhaps?
Replies (4)
Hi Jeremy,
I had the same problem and fixed it with the manuell installation of sprockets by getting the gem from http://rubygems.org
Matthias seems to have found the root of the problem. We should upgrade sprockets to a newer version (one that is actually supported).
Until then, I have created a fix for the error you get: https://github.com/opf/openproject/pull/2128
Thanks for the quick replies. I actually went the manual route, which seems to have worked.
Hi Jeremy, Matthias and all,
Newbie here, i’ve been trying to install Openproject on by Debian 8 VPS and i’ve run into this:
Bundler could not find compatible versions for gem “sprockets”:
In Gemfile:
sprockets-rails (>= 0) ruby depends on
sprockets (= 2.2.2.backport2) ruby
sprockets (>= 0) ruby
Could not find gem ‘sprockets (= 2.2.2.backport2) ruby’, which is required by gem ‘sprockets-rails (>= 0) ruby’, in any of the sources.
I see that “The sprockets maintainer yanked the sprockets version we use from rubygems.” but i’ve just downloaded the latest version of Openproject, is this problem still alive, is there a fix? I found one old download for the 2.2.2 but that seems to be faulty, another download seems to make no difference (although i may i not applied it correctly.
My VPS system:
Kernel and CPU: Linux 3.2.0-4-amd64 on x86_64
Processor information: Intel® Xeon® CPU E5620 @ 2.40GHz, 2 cores
OS Description: Debian GNU/Linux 8.1 (jessie)
Ruby 2.1.6p336 (2015-04-13 revision 50298) [x86_64-linux]
Please advise asap, much appreciated.
Astehmari