App works in Ruby on Rails but not on JRuby

When I run my application initially developed and deployed on Ruby on
rails, it runs fine. But when I run the same application using Jruby it
throws following error. Please help

Processing EmployeeController#index (for 127.0.0.1 at 2007-10-02
14:05:39) [GET]
Session ID: 754b9ef223425bfbd6709740e55d0243
Parameters: {“action”=>“index”, “controller”=>“employee”}
Redirected to http://localhost:3000/employee/setProjects
Completed in 0.04700 (21 reqs/sec) | 302 Found
[http://localhost/employee]
uninitialized constant EmployeeController::SystemCls
C:/jruby-1.0/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:477:in
const_missing' ./script/../config/../app/controllers/employee_controller.rb:33:ininitialize’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:in
new' C:/jruby-1.0/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:330:inprocess’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:41:in
dispatch' C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:118:inhandle_dispatch’
C:/jruby-1.0/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/webrick_server.rb:81:in
service' C:/jruby-1.0/lib/ruby/1.8/webrick/httpserver.rb:104:inservice’
C:/jruby-1.0/lib/ruby/1.8/webrick/httpserver.rb:65:in run' C:/jruby-1.0/lib/ruby/1.8/webrick/server.rb:173:instart_thread’
C:/jruby-1.0/lib/ruby/1.8/webrick/server.rb:95:in `start’

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs