Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARBLER_CONFIG = {"public.root"=>"/", "rails.env"=>"production"}
- ENV['GEM_HOME'] ||= $servlet_context.getRealPath('/WEB-INF/gems')
- ENV['BUNDLE_WITHOUT'] = 'development:test'
- # ENV['BUNDLE_GEMFILE'] = $servlet_context.getRealPath('/WEB-INF/Gemfile') # what i was going to try if the hardcoded path didn't work
- # ENV['BUNDLE_GEMFILE'] = 'Gemfile' # original, from warbler 1.3.2
- ENV['BUNDLE_GEMFILE'] = '/home/glassfish/glassfish/domains/domain1/applications/cwo_datasite/WEB-INF/Gemfile' # still can't find the Gemfile, even with this abs path
- ENV['RAILS_ENV'] = 'production'
Add Comment
Please, Sign In to add comment