Redmine cannot find rails -


i trying migrate working redmine instance server , running problems.

background: copied redmine directory , database new server , attempted install corresponding ruby , rails versions necessary. installed passenger apt-get install libapache2-mod-passenger bundle installed gems in redmine folder.

now, when try load site,

cannot load such file -- rails/all (loaderror)   /srv/redmine/config/application.rb:3:in `require'   /srv/redmine/config/application.rb:3:in `<top (required)>'   /srv/redmine/config/environment.rb:2:in `require'   /srv/redmine/config/environment.rb:2:in `<top (required)>'   config.ru:3:in `require'   config.ru:3:in `block in <main>'   /srv/redmine/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'   /srv/redmine/vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'   config.ru:1:in `new'   config.ru:1:in `<main>'   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'   /usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'   /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:app>'   /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:phusionpassenger>'   /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>' 

this means instance cannot find rails gem, have installed it. not sure problem is, nor diagnostics have show don't know ruby nor rails well. may have conflicting versions installed, don't know how resolve that. on ubuntu 14.04. thanks.

i needed sudo apt-install rails not sure why system couldn't find rails when installed gem.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -