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.
RailsBooter.load_environment
1 parent 3c99aa0 commit 7071ad2Copy full SHA for 7071ad2
src/main/ruby/jruby/rack/rails_booter.rb
@@ -26,7 +26,7 @@ def boot!
26
super
27
ENV['RAILS_ROOT'] = app_path
28
ENV['RAILS_ENV'] = rails_env
29
-
+
30
if rails2?
31
require 'jruby/rack/rails/environment2'
32
extend Rails2Environment
@@ -80,7 +80,7 @@ class << self
80
81
# @see #RailsRackApplicationFactory
82
# @private
83
- def self.load_environment; rails_booter.load_environment end
+ def load_environment; rails_booter.load_environment end
84
85
86
0 commit comments