Whenever I switch directories or do anything else that invokes RVM I receive this warning:
BEWARE! rubygems "--user-install" option is not recommended for RVM installations.
Double check your /etc/gemrc. You could remove this warning by adding 'export rvm_ignore_gemrc_issues=1' to your /home/brendan/.rvmrc
I suppose I could follow the suggestion for removing this warning, but I'm leery to ignore any warnings that I haven't been able to find any documentation for.
---------------------------------
$ rvm use system
Doesn't fix this for me, in face it invokes the same warning
---------------------------------
I did find this in the /etc/.gemrc :
# --user-install is used to install to $HOME/.gem/ by default since we want to separate
# pacman installed gems and gem installed gems
gem: --user-install
But it has the feeling of a hack, again I'd love to at least find a slightly more in-depth explanation for this
]]>Now, when I start a new shell, `which ruby` returns /usr/bin/ruby (the system ruby). Yet `rvm current` returns 'ruby-1.9.3-p194' which is not the system version (ruby 1.9.3_p327-1). And worse, `rvm gemdir` returns /home/barraponto/.rvm/gems/ruby-1.9.3-p194 while system ruby uses /usr/lib/ruby/gems/1.9.1 or /usr/lib/ruby/gems/1.9.1
These issues are gone as soon as I run `rvm use system`
Also, the default gemrc sets --user-install as a default flag for gem, although rvm doesn't like that. So I don't know what to do.
Issues: how do I get rvm to use rvm system by default? what should i do about gemrc?
]]>