How to install older ruby version on ubuntu Precise Pangolin?

Posted by Codestudent on Ask Ubuntu See other posts from Ask Ubuntu or by Codestudent
Published on 2012-10-28T16:39:53Z Indexed on 2012/10/28 17:17 UTC
Read the original article Hit count: 475

Filed under:
|
|

I got a present: older Rails tutorials that needs old ruby version. I try to install ruby-1.8 with the packet manager. I still got problems with the tutorial example code. Next I try rvm to install the old ruby version. Unfortunately I got an error. I do not know what to do. I search the internet. Many people got no problems with rvm. rvm use

*ERROR: Branch origin/ruby_1_8_4 not found.*

and

*ERROR: Error running 'GEM_PATH="/usr/share/ruby-rvm/gems/ruby-1.8.4-
  tv1_8_4:/usr/share/ruby-rvm/gems/ruby-1.8.4-tv1_8_4@global:/usr/share/ruby-
  rvm/gems/ruby-1.8.4-tv1_8_4:/usr/share/ruby-rvm/gems/ruby-1.8.4-tv1_8_4@global"     
  GEM_HOME="/usr/share/ruby-rvm/gems/ruby-1.8.4-tv1_8_4" "/usr/share/ruby-
  rvm/rubies/ruby-1.8.4-tv1_8_4/bin/ruby" "/usr/share/ruby-rvm/src/rubygems-
  1.3.7/setup.rb"', please read /usr/share/ruby-rvm/log/ruby-1.8.4-
  tv1_8_4/rubygems.install.log*

Please give me a hint.

© Ask Ubuntu or respective owner

Related posts about ruby

Related posts about versions