Displaying 1 result from an estimated 1 matches for "inner_app".
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
...oad Rails and (possibly) the private version of Rack it bundles.
begin
require ''config/boot''
+ require ''config/environment''
rescue LoadError => err
abort "#$0 must be run inside RAILS_ROOT: #{err.inspect}"
end
- inner_app = case ru
- when nil
- require ''config/environment''
-
- defined?(::Rails::VERSION::STRING) or
- abort "Rails::VERSION::STRING not defined by config/{boot,environment}"
- # it seems Rails >=2.2 support Rack, but only >=2.3 requires it
-...