SHOW:
|
|
- or go back to the newest paste.
| 1 | WARBLER_CONFIG = {"public.root"=>"/", "rails.env"=>"production"}
| |
| 2 | ENV['GEM_HOME'] ||= $servlet_context.getRealPath('/WEB-INF/gems')
| |
| 3 | ENV['BUNDLE_WITHOUT'] = 'development:test' | |
| 4 | # ENV['BUNDLE_GEMFILE'] = $servlet_context.getRealPath('/WEB-INF/Gemfile') # what i was going to try if the hardcoded path didn't work
| |
| 5 | # ENV['BUNDLE_GEMFILE'] = 'Gemfile' # original, from warbler 1.3.2 | |
| 6 | 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 | |
| 7 | ||
| 8 | ENV['RAILS_ENV'] = 'production' |