Project

General

Profile

Upgrade problem

Added by Forall Forall almost 12 years ago

Problem upgrade redmine from 1.2.x to 2.x - Could not find gem 'rack-openid (>= 0)'

Dodane przez Forall Forall 2 dni temu

Hi,

I want to upgrade my current redmine to the latest svn version, but I have a problem with "rack-openid".I have a error when I run: rake config/initializers/session_store.rb

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.

Could not find gem 'rack-openid (>= 0)' in any of the gem sources listed in your Gemfile.

I have installed a rack-openid - version ruby-openid (2.1.8)

Any ideas where is the problem?


Replies (3)

RE: Upgrade problem - Added by William Roush almost 12 years ago

What is the output of "bundle show" and "bundle check"?

RE: Upgrade problem - Added by Forall Forall almost 12 years ago

www:/var/www/redmine# bundle show
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
Could not find gem 'rack-openid (>= 0)' in any of the gem sources listed in your Gemfile.

The same error when I try run command: rake config/initializers/session_store.rb

RE: Upgrade problem - Added by Aleksandr Nosov over 11 years ago

I have the same problem. I try to update redmine1.3 to redmine2.0.
I take a step 3,6:

# sudo rake generate_session_store
(in /usr/share/redmine)
Could not find gem 'rack-openid (>= 0)' in any of the gem sources listed in your Gemfile.

    (1-3/3)