Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
Added by François P over 12 years ago
Hi,
I just upgrading redmine to the version 2.0. but I have got an error when I tried to access to the website.
The error is the following :
Error message:
Could not find coderay-1.0.6 in any of the sources (Bundler::GemNotFound)
Apparently coderay is already installed
actionmailer (3.2.3)
actionpack (3.2.3)
activemodel (3.2.3)
activerecord (3.2.3)
activeresource (3.2.3)
activesupport (3.2.3)
arel (3.0.2)
bigdecimal (1.1.0)
builder (3.0.0)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (1.0.0)
erubis (2.7.0)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.0)
io-console (0.3)
journey (1.0.3)
json (1.7.3, 1.5.4)
json_pure (1.7.3)
mail (2.4.4)
mime-types (1.18)
minitest (2.5.1)
multi_json (1.3.5)
mysql2 (0.3.11)
net-ldap (0.3.1)
passenger (3.0.12)
polyglot (0.3.3)
prototype-rails (3.2.1)
rack (1.4.1)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.3)
railties (3.2.3)
rake (0.9.2.2)
rdoc (3.12, 3.9.4)
ruby-openid (2.1.8)
rubyforge (2.0.4)
sprockets (2.1.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
Anyone have any idea?
Thanks for your help
The full trace is:
[ pid=945 thr=21483740 file=utils.rb:176 time=2012-05-18 16:34:15.823 ]: *** Exception PhusionPassenger::UnknownError in PhusionPassenger::Rack::ApplicationSpawner (Could not find coderay-1.0.6 in any of the sources (Bundler::GemNotFound)) (process 945, thread #<Thread:0x000000028fa1b8>):
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/spec_set.rb:90:in `block in materialize'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/spec_set.rb:83:in `map!'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/spec_set.rb:83:in `materialize'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/definition.rb:127:in `specs'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/definition.rb:172:in `specs_for'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/definition.rb:161:in `requested_specs'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/environment.rb:23:in `requested_specs'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/runtime.rb:11:in `setup'
from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler.rb:107:in `setup'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb:326:in `prepare_app_process'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:156:in `block in initialize_server'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb:572:in `report_app_init_status'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:154:in `initialize_server'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:204:in `start_synchronously'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:180:in `start'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/rack/application_spawner.rb:129:in `start'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:253:in `block (2 levels) in spawn_rack_application'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:246:in `block in spawn_rack_application'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:82:in `block in synchronize'
from <internal:prelude>:10:in `synchronize'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:244:in `spawn_rack_application'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
from /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server:99:in `<main>'
Replies (8)
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by Etienne Massip over 12 years ago
bundle list
?
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by François P over 12 years ago
Gems included by the bundle: actionmailer (3.2.3)
actionpack (3.2.3)
activemodel (3.2.3)
activerecord (3.2.3)
activeresource (3.2.3)
activesupport (3.2.3)
arel (3.0.2)
builder (3.0.0)
bundler (1.1.3)
coderay (1.0.6)
erubis (2.7.0)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
json (1.7.3)
mail (2.4.4)
mime-types (1.18)
multi_json (1.3.5)
mysql2 (0.3.11)
net-ldap (0.3.1)
polyglot (0.3.3)
prototype-rails (3.2.1)
rack (1.4.1)
rack-cache (1.2)
rack-openid (1.3.1)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.3)
railties (3.2.3)
rake (0.9.2.2)
rdoc (3.12)
ruby-openid (2.1.8)
sprockets (2.1.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by Etienne Massip over 12 years ago
bundle check
?
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by François P over 12 years ago
Bundle check gives : the Gemfile's dependencies are satisfied
Apparently, I have no spec file for coderay into the path folder.
Is it normal?
I tried to remove it and reinstall it but no change...
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by François P over 12 years ago
Another idea? I have always this pb.
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by Etienne Massip over 12 years ago
Sorry, no clue.
Might be some weird dependency in your vendor
directory?
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by François P over 12 years ago
I reinstalled ruby and now all is OK...
Thanks for your help
RE: Redmine 2.0 - Could not find coderay-1.0.6 in any of the sources
-
Added by Daryl Flewwelling about 12 years ago
For anyone still having this issue. I also had it with coderay-1.0.7.
My issue was that rake was somehow compiled or pointing to ruby 1.8.7 and I was using ruby 1.9.3 and gem 1.8.11. All of my gems were compiled with bundle and installed in the 1.9.1 directory. So rake/ruby weren't using the proper directory to find coderay.
I did a 'gem install rake', and it recompiled rake to go with the newer version of ruby/gem/rails. This has fixed the issue for me.