How to Setup Ruby on Linux or Unix for Local development

This section contains some shortcodes that requries the Jannah Extinsions Plugin. You can install it from the Theme settings menu > Install Plugins.

Steps to Setup Ruby on Linux or Unix

So you want to setup and install Ruby Programming Language on your Unix machine. This Article will show you step by step how to setup ruby on your unix machine. First of all make sure you have the root privilege on your computer. Then follow the few steps given below;

  • Download the zipped version of Ruby for unix from here
  • Now unppack the Archive file of ruby and put it into the newly created directory by following —
$ tar -xvzf ruby-1.6.7.tgz
$ cd ruby-1.6.7
  • Now Compile the Source code by entering into command line as follows–
$ ./configure
$ make
  • Then you have to install the ruby Interpreter by following
$ su -l root # become a root user
$ make install
$ exit       # become the original user again
  • The Interpreter will install successfully. But make sure everything working fine. to Check this write the below code into command line
$ruby -v
ruby 1.6.7 (2002-06-04) [i386-netbsd]



Leave a Reply

Your email address will not be published. Required fields are marked *