[solved] Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
Added by Miloslav Nenadal over 12 years ago
Hi,
I am trying install Redmine 2.1.2 and passanger rais error:
Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
I have all bundled installed (include rake-0.9.2.2), webrick is running.
using tools:
Debian, Apache2
$ rake -V
$ rake, version 0.9.2.2
Does anyone know how to resolve that?
Replies (2)
RE: Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
-
Added by Miloslav Nenadal over 12 years ago
I tried
$ bundle exec rake -V
and it throwed following error:
database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
whole output is here: http://pastebin.com/jf0Zqrw8
Any ideas?
EDITED:
I have database configuration including adapter in redmine/config/database.yml
RE: Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
-
Added by Miloslav Nenadal over 12 years ago
SOLVED:
$ sudo rails s -e "production" -p 80
I found on stack overflow, someone run server badly and had also weird error. I runned webrick, and it throws error on webpage, but I runned command above, and it works - I not understand, but it works.