Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration

Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration

Added by Jeremy W over 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)

RE: Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration - Added by Matthias Wellmeyer over 10 years ago

Hi Jeremy,
I had the same problem and fixed it with the manuell installation of sprockets by getting the gem from http://rubygems.org

wget https://aws-eu-cache01.rubygems.org/gems/sprockets-2.2.2.backport2.gem
gem install sprockets-2.2.2.backport2.gem

RE: Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration - Added by Philipp Tessenow over 10 years ago

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

RE: Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration - Added by Jeremy W over 10 years ago

Thanks for the quick replies. I actually went the manual route, which seems to have worked.

RE: Sprockets 2.2.2.backport2 causing problems with 3.0 to 4.0 migration - Added by ABu PIU over 9 years ago

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

  • (1 - 4/4)
Loading...