Ubuntu RVM

I had a lot of problems trying to install RVM on Ubuntu 9.10. Here are the steps I tried to do:

  • install ruby ​​(via ruby-site, without package manager)
  • download rvm
  • install rvm (do the editing on .bashrc)
  • use rvm to install the ruby ​​version and gems

Is there any important step that I think is missing?

0
source share
3 answers

Be sure to select the installed ruby ​​(the part --defaulttells rvm that you want this ruby ​​to be your default ruby ​​version). Sort of:

rvm --default use 1.9.2

This command will also tell you which ruby ​​is currently selected:

rvm list

And hopefully you will see something like:

rvm rubies

   ruby-1.9.2-p0 [ x86_64 ]
=> ruby-1.8.7-p302 [ x86_64 ]

, , rvm.

, rvm ruby, ruby ​​ gems . , ruby ​​ gem ~/.rvm :

which ruby
which gem

!

+1

? rvm (, rvm ree), .rvmrc .

ubuntu ruby, ( rvm PATH). RVM, rvm,

  bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

, rvm notes. (, rvm install ree rvm install 1.9.1)

+1

Important: for a good installation, try the following:

rvm type | head -n1

Must be returned: rvm is a function

else add this line

[[-s "/ usr / local / rvm / scripts / rvm"]] && & &&& &, "/ USR / local / RVM / scripts / RVM"

in your profile.

-1
source

All Articles