[SOLVED] ruby and irb are not functioning

  • Thread starter Thread starter tmulherin
  • Start date Start date
T

tmulherin

I am running Linux Mint 16 xfce on an Oracle virtual box. This is day 2 after I installed the vm, Mint, and all the upgrades. I then followed the instructions for installing rvm stable with ruby2.1.2 from the rvm website. I closed and reopened the terminal. irb won't launch, even when logged in as root and in the containing folder. Particulars:


-rwxrwxr-x 1 root root 4397 May 30 18:00 erb
-rwxrwxr-x 1 root root 546 May 30 18:00 gem
-rwxrwxr-x 1 root root 190 May 30 18:00 irb
-rwxrwxr-x 1 root root 1244 May 30 18:00 rake
-rwxrwxr-x 1 root root 938 May 30 18:00 rdoc
-rwxrwxr-x 1 root root 188 May 30 18:00 ri
-rwxrwxr-x 1 root root 134762 May 30 17:58 ruby
-rwxrwxr-x 1 root root 78 May 30 18:00 testrb



/usr/local/rvm/rubies/ruby-2.1.2/bin
$ irb
The program 'irb' can be found in the following packages:
* ruby1.8
* ruby1.9.1
Try: sudo apt-get install <selected package>


/usr/local/rvm/rubies/ruby-2.1.2/bin
$ ruby -v
The program 'ruby' can be found in the following packages:
* ruby1.8
* ruby1.9.1
Try: sudo apt-get install <selected package>


I'd appreciate any guidance.

Continue reading...
 
Back
Top