We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 421d94a commit bc019deCopy full SHA for bc019de
src/main/ruby/jruby/rack/rails_booter.rb
@@ -72,8 +72,8 @@ def run_boot_hooks
72
private
73
74
def rails2?
75
- # a File.exist? File.join(app_path, 'config/application.rb')
76
- ! real_path File.join(layout.app_uri, 'config/application.rb')
+ app_path = real_path File.join(layout.app_uri, 'config/application.rb')
+ app_path && File.exist?(app_path) ? false : true
77
end
78
79
class << self
0 commit comments