how to point rubygems to use ruby 1.9.1?
Posted
by
omnilinguist
on Server Fault
See other posts from Server Fault
or by omnilinguist
Published on 2011-11-27T07:30:05Z
Indexed on
2011/11/27
9:53 UTC
Read the original article
Hit count: 161
[Debian squeeze]
It has been surprisingly difficult to find an answer for this.
I had ruby v1.9.1 installed (/usr/bin/ruby1.9.1), but after I then installed rubygems, it also installed ruby1.8 (/usr/bin/ruby1.8), and all the commands I run on gem (gem install ..., rails ...) are all using ruby v1.8.
~/proj/rails/demo# bundle show sqlite3
/var/lib/gems/1.8/gems/sqlite3-1.3.4
How do I get rubygems and rails to use the v1.9.1 which I have installed, instead of v1.8?
(side note: I did install rvm using "gem install rvm", but after I did that, I am not able to execute rvm, what's up with that?)
© Server Fault or respective owner