linux - Install ruby on rails on centOS -
these days ,i try install redmine (a web app based on ruby on rails) on centos.
followed offical guide on ruby website.however met problem:
in terminate:
[root@localhost aaa]# cd blog [root@localhost blog]# rails -v rails 3.2.6 [root@localhost blog]# rails server => booting webrick => rails 3.2.6 application starting in development on http://0.0.0.0:3000 => call -d detach => ctrl-c shutdown server [2012-07-03 07:01:32] info webrick 1.3.1 [2012-07-03 07:01:32] info ruby 1.8.7 (2012-06-29) [i686-linux] [2012-07-03 07:01:32] info webrick::httpserver#start: pid=20517 port=3000 ...
it works well. when start app redmine.
[root@localhost aaa]# cd redmine [root@localhost redmine]# rails -v script/rails:6:in `require': no such file load -- rails/commands (loaderror) script/rails:6 [root@localhost redmine]# rails server script/rails:6:in `require': no such file load -- rails/commands (loaderror) script/rails:6 ...
the result makes me confused.any 1 can me.
sounds redmine rails 2.x , blog rails 3.x. i've solved problem using rvm & gemsets. can search other ways run multiple versions of rails.
Comments
Post a Comment