I am using RVM with Ubuntu13.04. Installed version of Ruby is :
kirti@kirti-Aspire-5733Z:~$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]
How can I upgrade it into the newer latest version of Ruby?
I am using RVM with Ubuntu13.04. Installed version of Ruby is :
kirti@kirti-Aspire-5733Z:~$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]
How can I upgrade it into the newer latest version of Ruby?
Am 13.07.2013 10:32, schrieb Love U Ruby:
I am using RVM with Ubuntu13.04. Installed version of Ruby is :
kirti@kirti-Aspire-5733Z:~$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]How can I upgrade it into the newer latest version of Ruby?
Am 13.07.2013 10:32, schrieb Love U Ruby:
I am using RVM with Ubuntu13.04. Installed version of Ruby is :
kirti@kirti-Aspire-5733Z:~$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux]How can I upgrade it into the newer latest version of Ruby?
And here the solution
First, you probably need to update the list of known rubies
$ rvm get stable
(`stable’ is what you usually would want)
Then upgrade by either
a) trying the experimental automatic detection, should work fine:
$ rvm upgrade 2.0.0
b) or specifying the exact versions:
$ rvm upgrade 2.0.0-p0 2.0.0-p247
Regards,
Marcus
First, you probably need to update the list of known rubies
$ rvm get stable
(`stable’ is what you usually would want)
Then upgrade by either
a) trying the experimental automatic detection, should work fine:
$ rvm upgrade 2.0.0
b) or specifying the exact versions:
$ rvm upgrade 2.0.0-p0 2.0.0-p247
@Marcus :- Thank you very much! I am done.
kirti@kirti-Aspire-5733Z:~$ rvm list
rvm rubies
=* ruby-2.0.0-p247 [ i686 ]
I am getting error when trying to set the default rubt:
kirti@kirti-Aspire-5733Z:~$ rvm list
rvm rubies
ruby-2.0.0-p195 [ i686 ]
=* ruby-2.0.0-p247 [ i686 ]
kirti@kirti-Aspire-5733Z:~$ rvm --default use ruby-2.0.0-p195
RVM is not a function, selecting rubies with ‘rvm use …’ will not
work.
You need to change your terminal emulator preferences to allow login
shell.
Sometimes it is required to use /bin/bash --login
as the command.
Please visit RVM: Ruby Version Manager - Using gnome-terminal with RVM for a example.
kirti@kirti-Aspire-5733Z:~$ rvm --default use 2.0.0-p195
RVM is not a function, selecting rubies with ‘rvm use …’ will not
work.
You need to change your terminal emulator preferences to allow login
shell.
Sometimes it is required to use /bin/bash --login
as the command.
Please visit RVM: Ruby Version Manager - Using gnome-terminal with RVM for a example.
Love U Ruby wrote in post #1115354:
I have solved the issue by visiting the below link.
Sometimes it is required to use
/bin/bash --login
as the command.
Please visit RVM: Ruby Version Manager - Using gnome-terminal with RVM for a example.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs