Remove the init.rb, now managed by warbler-bootstrap
This commit is contained in:
parent
909741da5e
commit
d154b34c44
19
init.rb
19
init.rb
|
@ -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
|
||||
|
Loading…
Reference in New Issue