1. Technology
You can opt-out at any time. Please refer to our privacy policy for contact information.

Install Alongside Ruby 1.8.x--Upgrading to Ruby 1.9.1


This is the final step, it's time to install your new Ruby interpreter. Run the install make target to install Ruby. Since Ruby will be installed to /usr/local, you will need to run this command as root or with sudo.

$ sudo make install

You're done. You can now run Ruby scripts with the ruby19 command, access IRB with irb19 and the Rubygems for Ruby 1.9.1 with gem19.

©2014 About.com. All rights reserved.