Remove the init.rb, now managed by warbler-bootstrap

This commit is contained in:
R. Tyler Croy 2014-08-10 13:15:37 -07:00
parent 909741da5e
commit d154b34c44
1 changed files with 0 additions and 19 deletions

19
init.rb
View File

@ -1,19 +0,0 @@
WARBLER_CONFIG = {"public.root"=>"/", "rack.env"=>"production", "jruby.compat.version"=>"1.9"}
if $servlet_context.nil?
ENV['GEM_HOME'] ||= File.expand_path('../../WEB-INF', __FILE__)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../WEB-INF/Gemfile', __FILE__)
else
ENV['GEM_HOME'] ||= $servlet_context.getRealPath('/WEB-INF/gems')
ENV['BUNDLE_GEMFILE'] ||= $servlet_context.getRealPath('/WEB-INF/Gemfile')
end
ENV['BUNDLE_WITHOUT'] = 'development:test:assets'
ENV['RACK_ENV'] = 'production'
$LOAD_PATH.unshift $servlet_context.getRealPath('/WEB-INF') if $servlet_context