We found this thread , but we have the opposite request. In our
WAR, GEM_HOME seems to always be set to the system gem home. We don’t
want this, because we don’t want any system gems to pollute our load
path when we deploy our war to customers.
- setting ENV[‘GEM_HOME’] to nil in config/preinitializer.rb - but
then the rails environment won’t even start
- setting config.webxml.GEM_HOME=’’ and config.webxml.gem.home=’’ in
warble.rb - this set the properties in web.xml, but they had no effect
on GEM_HOME or Gem.dir.
Gem.path is correctly set to the to the path of WEB-INF/gems under
- How can we make use WEB-INF/gems under glassfish as our GEM_HOME?
- What is setting Gem.path correctly to WEB-INF/gems under glassfish?
Warbler? Glassfish? Something else?
To unsubscribe from this list, please visit: