Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
UsageRuby 1.8.7 is installed as part of the SuSE Linux operating system. In addition there is a module for version 1.9.3. To load run:
module load ruby/1.9.3With the module version, you may install any gems you wish. They will be placed in your home directory within the
.gemfolder. As an example, here is bundler being installed within my home directory:
$ gem install bundler Fetching: bundler-1.1.4.gem (100%) Successfully installed bundler-1.1.4 1 gem installed Installing ri documentation for bundler-1.1.4... Installing RDoc documentation for bundler-1.1.4... $ ls ~/.gem/ruby/1.9.1/gems/ bundler-1.1.4The location of these gems can be changed using the
GEM_PATHenvironment variables. The module sets these variables for you. They can be changed and gems will installed wherever they are set to. However, the best way to manage gems is using Bundler.