How Can We Help?
< All Topics
Print

Environment Variables(Ruby)

Environment Variables(Ruby):

Apache:

VariableValue ExampleDescription
MY_RUBY_HOME/usr/local/rvm/rubies/ruby-2.5.1The path to the directory where the ruby engine is located
RUBY_VERSION2.5.1The version of Ruby engine installed in the container
GEM_HOME/usr/local/rvm/gems/ruby-2.5.1Locations (there may be several) where gems can be found (should include GEM_PATH)
GEM_PATH/usr/local/rvm/gems/ruby-2.5.1Location where gems will be installed (by default)
IRBRC/usr/local/rvm/rubies/ruby-2.5.1/.irbrcPath to IRB configuration file
APACHE_VERSION2.4.33The version of Apache used for running the Ruby application

 NGINX:

VariableValue ExampleDescription
MY_RUBY_HOME/usr/local/rvm/rubies/ruby-2.5.1The path to the directory where the ruby engine is located
RUBY_VERSION2.5.1The version of Ruby engine installed in the container
GEM_HOME/usr/local/rvm/gems/ruby-2.5.1Locations (there may be several) where gems can be found (should include GEM_PATH)
GEM_PATH/usr/local/rvm/gems/ruby-2.5.1Location where gems will be installed (by default)
IRBRC/usr/local/rvm/rubies/ruby-2.5.1/.irbrcPath to IRB configuration file
NGINX_VERSION1.14.0The version of NGINX used for running the Ruby application
Table of Contents