1

Okay here is my setup:

Running JRUBY (and a JRuby on Rails application) on a glassfish server (not gem!!!). Jruby has been installed via RVM (http://rvm.beginrescueend.com/).

The RoR application has it's own gemset. (managed by rvm)

Now my problem is, that I don't know how to tell glassfish to use a different GEM_HOME and GEM_PATH environment variable.

I can set the JRuby Home (Configuration > Ruby Container), but it's not possible to specify another GEM_HOME or GEM_PATH, as far as i know.

Please help!

rene
  • 11
  • 1
  • 3

1 Answers1

3

GF's environment variables are in:

${glassfish_dir}/glassfish/config/asenv.conf
Tim Sylvester
  • 22,897
  • 2
  • 80
  • 94