Ruby won't work. :/

Asked by Tootiecat

I installed Ruby 1.9 and dependencies. And irb works, just not Geany.

http://www.mediafire.com/?iaotnqnnlmz

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ruby-defaults Edit question
Assignee:
No assignee Edit question
Solved by:
Marco Ricci
Solved:
Last query:
Last reply:
Revision history for this message
Best Marco Ricci (the-13th-letter) said :
#1

Try checking if the file /usr/bin/ruby1.9 or /usr/local/bin/ruby1.9 exists, and if either of them does, link it symbolically to "ruby" as per

  sudo ln -s /usr/bin/ruby1.9 /usr/bin/ruby
  sudo ln -s /usr/local/bin/ruby1.9 /usr/local/bin/ruby1.9

(choose the appropriate version)

Revision history for this message
Marco Ricci (the-13th-letter) said :
#2

Sorry, typo. The second command should read

  sudo ln -s /usr/local/bin/ruby1.9 /usr/local/bin/ruby

(without the "1.9" at the end)

Revision history for this message
Tootiecat (tootiecat) said :
#3

/usr/bin/ruby1.9 exists and ruby1.8 is also in the same directory. /usr/local/bin/ruby1.9 doesn't exist.

Revision history for this message
Tootiecat (tootiecat) said :
#4

Problem solved, thanks Marco.

Revision history for this message
Tootiecat (tootiecat) said :
#5

Thanks Marco Ricci, that solved my question.