Search code examples
jrubypassengerjrubyonrails

Passenger 4 & JRuby: setting JRUBY_OPTS


I know i can specify the ruby executable to use with passenger_ruby for a particular virtual server, but is there an easy way to specify the JRUBY_OPTS env variable I want to set for that particular executable?


Solution

  • Yes, you can set any arbitrary environment variables you want. See section "About environment variables" from the Phusion Passenger manual.