-
Notifications
You must be signed in to change notification settings - Fork 7
Installation: Ruby 2.0 & rubygems
Ruby is the language of HydraDAM. Rubygems gives you access to the gems (dependencies, aka other people's code) HydraDAM needs.
Ruby:
Especially on Ubuntu machines, Ruby 2.0 may be preinstalled. To verify which is installed, enter the command which ruby
in the terminal window. This should return /usr/local/bin/ruby. Additionally, entering ruby -v
should return ruby 2.0.0-p353.
If you don't have Ruby 2.0 installed, install it from source by copying and pasting the block of text below:
cd /opt/install
wget http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz
tar xvzf ruby-2.0.0-p353.tar.gz
cd ruby-2.0.0-p353
./configure
make
sudo make install
cd /opt
You must have Ruby version 2.0.x and Rubygems version 2.x installed to complete the rest of the instructions. To verify that the correct versions are installed, use the following commands.
-
which ruby
The system should return /usr/local/bin/ruby -
ruby -v
The system should return ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux] -
which gem
The system should return /usr/local/bin/gem -
gem -v
The system should return 2.0.14
If you get an error message or a version older than 2.x, go to the Troubleshooting Guide.
Proceed to Install Java 7 or return to the Overview page.