Jump to content

[SOLVED] ruby and irb are not functioning


Recommended Posts

Guest tmulherin
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...