After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
Added by Marco Behnke over 11 years ago
Hi, I 've already browsed the web and tried every solution on that topic but it seems I am stuck.
After upgrading nearly everything around ruby, rake, gems and stuff, I did not manage to get my redmine up and working. As I am not into ruby but only a redmine user, I don't get the meanings of all the error messages.
This is what redmine says in the browser
Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound) /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:90:in `block in materialize' /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:83:in `map!' /usr/lib/ruby/vendor_ruby/bundler/spec_set.rb:83:in `materialize' /usr/lib/ruby/vendor_ruby/bundler/definition.rb:127:in `specs' /usr/lib/ruby/vendor_ruby/bundler/definition.rb:172:in `specs_for' /usr/lib/ruby/vendor_ruby/bundler/definition.rb:161:in `requested_specs' /usr/lib/ruby/vendor_ruby/bundler/environment.rb:23:in `requested_specs' /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:11:in `setup' /usr/lib/ruby/vendor_ruby/bundler.rb:107:in `setup' /usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in `<top (required)>' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/share/redmine-1.2/config/boot.rb:6:in `<top (required)>' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/share/redmine-1.2/config/application.rb:1:in `<top (required)>' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/share/redmine-1.2/config/environment.rb:2:in `<top (required)>' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' /var/lib/gems/1.9.1/gems/passenger-4.0.0.rc6/helper-scripts/classic-rails-preloader.rb:69:in `preload_app' /var/lib/gems/1.9.1/gems/passenger-4.0.0.rc6/helper-scripts/classic-rails-preloader.rb:156:in `<module:App>' /var/lib/gems/1.9.1/gems/passenger-4.0.0.rc6/helper-scripts/classic-rails-preloader.rb:6:in `<module:PhusionPassenger>' /var/lib/gems/1.9.1/gems/passenger-4.0.0.rc6/helper-scripts/classic-rails-preloader.rb:5:in `<main>'
What more information can I supply for you to help me out of this situation? I am really desperate trying to get my system up and running for 2 weeks now.
root@vs367:/var/www/redmine-1.2# which rake /usr/local/rvm/gems/ruby-1.9.2-p320/bin/rake root@vs367:/var/www/redmine-1.2# rake --version rake, version 10.0.4
root@vs367:/var/www/redmine-1.2# svn info Path: . URL: http://redmine.rubyforge.org/svn/branches/2.3-stable/public Repository Root: http://redmine.rubyforge.org/svn Repository UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81 Revision: 11903 Node Kind: directory Schedule: normal Last Changed Author: jplang Last Changed Rev: 11751 Last Changed Date: 2013-05-01 14:53:10 +0200 (Wed, 01 May 2013)
Replies (6)
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Marco Behnke over 11 years ago
Complete error messages attached
redmine-broken.txt (19 KB) redmine-broken.txt |
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Ladislav Nesnera over 11 years ago
Good or bad new - I'm not sure. A have the same problem.
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Marco Behnke over 11 years ago
Nobody who can point me in the right direction? I really need to get access to my data.
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Mischa The Evil over 11 years ago
Marco,
The error means that rake is not available. It seems like you have a configuration problem with passenger and rvm.
The output of which rake
above shows that rake 10.0.4 is installed for ruby 1.9.2-p320. OTOH, in redmine-broken.txt it is shown that passenger is not using the previously mentioned rvm ruby. It even looks like it is trying to use your system ruby.
- review the rubies you have installed (both rvm-managed and system rubies) and select which one you want passenger to use
- open a shell,
rvm use
the selected ruby (and optionally the preferred gemset), invokepassenger-config --ruby-command
and modify your apache virtual host configuration, using thePassengerRuby
directive, accordingly (see the passenger manual for more info about this) - check if all needed gems (including rake) are installed in the selected and configured ruby (
gem list
) and if not,bundle install --without ...
to get these installed (do all this while stillrvm use
-ing the wanted interpreter) - restart passenger
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Marco Behnke over 11 years ago
Thanks for showing me a stairway to heaven.
I'll try this out and come back with the results.
:) Marco
RE: After updating: Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
-
Added by Marco Behnke over 11 years ago
Great, everything worked!
Thanks a lot!