I have installed ruby 1.9.3p194 using rvm on ubuntu 12.04. Its not at home(~/.gemrc) or at /etc/gemrc
Does rvm places gem configuration file gemrc somewhere else?
Is there any way i could find out where this files kept…by giving some option to $ gem command. Actually i want to disable by default rdoc and ri installation when any new gem is installed. For that i want to modify gemrc file which as :
install: --no-rdoc --no-ri update: --no-rdoc --no-ri
Please help me.
You can locate any file on a Linux/Ubuntu system using locate, e.g.:
But it’s possible you don’t have one yet. You can just create it yourself in your homedir (or even /etc/gemrc if you want to apply it to all users.) You’re right that rvm does not install one by default (at least it didn’t on my system.) So just do:
And insert those lines you wrote in your post, it should work.