Skip to content

Commit 7071ad2

Browse files
committed
messed up RailsBooter.load_environment - should be on class not it's meta-class
1 parent 3c99aa0 commit 7071ad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/ruby/jruby/rack/rails_booter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def boot!
2626
super
2727
ENV['RAILS_ROOT'] = app_path
2828
ENV['RAILS_ENV'] = rails_env
29-
29+
3030
if rails2?
3131
require 'jruby/rack/rails/environment2'
3232
extend Rails2Environment
@@ -80,7 +80,7 @@ class << self
8080

8181
# @see #RailsRackApplicationFactory
8282
# @private
83-
def self.load_environment; rails_booter.load_environment end
83+
def load_environment; rails_booter.load_environment end
8484

8585
# @see #RailsRackApplicationFactory
8686
# @private

0 commit comments

Comments
 (0)