redmine in centos 5.8 with cpanel
Added by Leonardo Gatica over 12 years ago
Hello I'm trying to install redmine on a server with centos 5.8 with cpanel but upon entering the browser I get the following error:
Ruby on Rails application could not be started A source file that the application requires, is missing. It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded. A required library may not installed. Please install all libraries that this application requires. Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem. Error message: no such file to load -- bundler Exception class: LoadError Application root: /home/escaleno/redmine Backtrace: # File Line Location 0 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `gem_original_require' 1 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `require' 2 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/utils.rb 325 in `prepare_app_process' 3 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/classic_rails/application_spawner.rb 176 in `initialize_server' 4 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/utils.rb 572 in `report_app_init_status' 5 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/classic_rails/application_spawner.rb 174 in `initialize_server' 6 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 204 in `start_synchronously' 7 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 180 in `start' 8 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/classic_rails/application_spawner.rb 149 in `start' 9 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 219 in `spawn_rails_application' 10 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add' 11 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 214 in `spawn_rails_application' 12 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 82 in `synchronize' 13 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize' 14 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 213 in `spawn_rails_application' 15 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 132 in `spawn_application' 16 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application' 17 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 357 in `__send__' 18 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 357 in `server_main_loop' 19 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/lib/phusion_passenger/abstract_server.rb 206 in `start_synchronously' 20 /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.13/helper-scripts/passenger-spawn-server 99
The output of the command gem list is:
*** LOCAL GEMS *** actionmailer (3.2.6, 2.3.14) actionpack (3.2.6, 2.3.14) activemodel (3.2.6) activerecord (3.2.6, 2.3.14) activeresource (3.2.6, 2.3.14) activesupport (3.2.6, 2.3.14) arel (3.0.2) builder (3.0.0) bundler (1.1.5, 1.1.4) cgi_multipart_eof_fix (2.5.0) coderay (1.0.7, 0.9.8) daemon_controller (1.0.0) daemons (1.1.8) erubis (2.7.0) fastercsv (1.5.5) fastthread (1.0.7) gem_plugin (0.2.3) hike (1.2.1) hoe (3.0.6) i18n (0.6.0, 0.4.2) journey (1.0.4) jquery-rails (2.0.3) json (1.7.5) mail (2.4.4) mime-types (1.19) mongrel (1.1.5) multi_json (1.3.6) mysql (2.8.1) net-ldap (0.3.1) passenger (3.0.15, 3.0.13) polyglot (0.3.3) prototype-rails (3.2.1) rack (1.4.1, 1.1.3, 1.1.0) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.1) rails (3.2.6, 2.3.14) railties (3.2.6) rake (0.9.2.2, 0.8.3) rdoc (3.12) RedCloth (4.2.9) ruby-openid (2.1.8) rubygems-update (1.8.24) rubytree (0.5.2) sprockets (2.1.3) sqlite3 (1.3.6) thor (0.16.0) tilt (1.3.3) treetop (1.4.10) tzinfo (0.3.33)
I tried with version 1.3.1, 1.4 and 2.0 and all I get the same error. The strange thing is that I can access through the command redmine:
ruby script/server webrick-e production