- Phusion Passenger

# Ruby on Rails application could not be started

These are the possible causes:

- There may be a syntax error in the application's code. Please check for such errors and fix them.
- A required library may not installed. Please install all libraries that this application requires.
- The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
- A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.

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:
  uninitialized constant ActionView::Helpers::JavaScriptElementProxy::ActionView
Exception class:
  NameError
Application root:
  `/srv/www/webyast`
Backtrace:

  # | File | Line | Location
  --- | --- | --- | ---
  0 | /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb | 131 | in `rescue in const_missing'
  1 | /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb | 120 | in `const_missing'
  2 | /srv/www/webyast/vendor/plugins/jrails/lib/jrails.rb | 230 | in `'
  3 | /srv/www/webyast/vendor/plugins/jrails/lib/jrails.rb | 227 | in `'
  4 | /srv/www/webyast/vendor/plugins/jrails/lib/jrails.rb | 3 | in `'
  5 | /srv/www/webyast/vendor/plugins/jrails/lib/jrails.rb | 2 | in `'
  6 | /usr/lib/ruby/1.9.1/rubygems/custom_require.rb | 36 | in `require'
  7 | /usr/lib/ruby/1.9.1/rubygems/custom_require.rb | 36 | in `require'
  8 | /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/dependencies.rb | 184 | in `require'
  9 | /srv/www/webyast/vendor/plugins/jrails/init.rb | 7 | in `block in evaluate_init_rb'
  10 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb | 158 | in `eval'
  11 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb | 158 | in `block in evaluate_init_rb'
  12 | /usr/lib/ruby/gems/1.9.1/gems/activesupport-2.3.14/lib/active_support/core_ext/kernel/reporting.rb | 11 | in `silence_warnings'
  13 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb | 154 | in `evaluate_init_rb'
  14 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin.rb | 48 | in `load'
  15 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb | 38 | in `block in load_plugins'
  16 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb | 37 | in `each'
  17 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails/plugin/loader.rb | 37 | in `load_plugins'
  18 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb | 369 | in `load_plugins'
  19 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb | 165 | in `process'
  20 | /usr/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/initializer.rb | 113 | in `run'
  21 | /srv/www/webyast/config/environment.rb | 44 | in `'
  22 | /usr/lib/ruby/1.9.1/rubygems/custom_require.rb | 36 | in `require'
  23 | /usr/lib/ruby/1.9.1/rubygems/custom_require.rb | 36 | in `require'
  24 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb | 94 | in `block (2 levels) in spawn_application'
  25 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb | 572 | in `report_app_init_status'
  26 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb | 92 | in `block in spawn_application'
  27 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/utils.rb | 479 | in `safe_fork'
  28 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/classic_rails/application_spawner.rb | 84 | in `spawn_application'
  29 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb | 230 | in `spawn_rails_application'
  30 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb | 132 | in `spawn_application'
  31 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/spawn_manager.rb | 275 | in `handle_spawn_application'
  32 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb | 357 | in `server_main_loop'
  33 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/lib/phusion_passenger/abstract_server.rb | 206 | in `start_synchronously'
  34 | /usr/lib/ruby/gems/1.9.1/gems/passenger-3.0.12/helper-scripts/passenger-spawn-server | 99 | in ` '