rvm

22 views
Skip to first unread message

fugee ohu

unread,
Mar 5, 2016, 4:22:57 PM3/5/16
to Ruby on Rails: Talk
i installed rvm on 2 different machines with the same linux version, one i have to type `source ~/.rvm/scripts/rvm` the other i have to type `source /usr/local/rvm/scripts/rvm`, on the latter i get the faraday error connection refused on port 9200, with the same app

Colin Law

unread,
Mar 5, 2016, 4:40:48 PM3/5/16
to Ruby on Rails: Talk
I guess you accidentally installed rvm using sudo on the latter one.
Remove it, you can just delete /usr/local/rvm I think, and reinstall
using the curl command method on the rvm website, without using sudo.

Make sure not to use sudo when installing gems also.

Colin

fugee ohu

unread,
Mar 5, 2016, 5:48:10 PM3/5/16
to Ruby on Rails: Talk


On Saturday, March 5, 2016 at 4:40:48 PM UTC-5, Colin Law wrote:
On 5 March 2016 at 21:22, fugee ohu <fuge...@gmail.com> wrote:
> i installed rvm on 2 different machines with the same linux version, one i
> have to type `source ~/.rvm/scripts/rvm` the other i have to type `source
> /usr/local/rvm/scripts/rvm`, on the latter i get the faraday error
> connection refused on port 9200, with the same app

I guess you accidentally installed rvm using sudo on the latter one.
Remove it, you can just delete /usr/local/rvm I think, and reinstall
using the curl command method on the rvm website, without using sudo.


 that's what i did, i'm trying to install single user on linux mint but it wants to create the directory '/usr/local/rvm' and for single user, it shouldn't be creating that directory, my source is supposed to be ~/.rvm/scripts/rvm' , what gives?

fugee ohu

unread,
Mar 5, 2016, 7:28:32 PM3/5/16
to Ruby on Rails: Talk


On Saturday, March 5, 2016 at 4:40:48 PM UTC-5, Colin Law wrote:

Yes I accidentally sudo'd when i installed rvm My next  problem was i needed to purge the old ruby1.9.1 config files After that I was able to install rvm ~ thanks
Reply all
Reply to author
Forward
0 new messages