fix uninitialized constant Rails::Application::Railties on jruby