upgrade from 1.3.2 to 2.4.1 problem
Hi i try tu upgrade i fail at step 9:
ruby script/rails server webrick -e production fails: sudo ruby script/rails server webrick -e production /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler/setup (LoadError) from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /home/mosnier/redmine-2.4.1/config/boot.rb:6:in `<top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from script/rails:5:in `<main>' mosnier@SRVLINUX:~/redmine-2.4.1$
could you help me i do not understand the error?
RE: upgrade from 1.3.2 to 2.4.1 problem - Added by Cedric mosnier about 8 years ago
when i check ruby version:
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
why does my redmine not using the correct ruby version ?
somes news now i got the following:
It looks like Bundler could not find a gem. This is probably because your
application is being run under a different environment than it's supposed to.
Please check the following:
- Is this app supposed to be run as the `redmine` user?
- Is this app being run on the correct Ruby interpreter? Below you will
see which Ruby interpreter Phusion Passenger attempted to use.
- Are you using RVM? Please check whether the correct gemset is being used.
- If all of the above fails, try resetting your RVM gemsets:
-------- The exception is as follows: -------
Could not find i18n-0.6.9 in any of the sources (Bundler::GemNotFound)
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
Ruby interpreter command
RE: upgrade from 1.3.2 to 2.4.1 problem - Added by Martin Denizet (redmine.org team member) about 8 years ago
- rubygem: If you installed using your distro packages try:
apt-get install rubygem
gem install bundler