What is "GEM_HOME setup" and how do I add it to my profile?
Please explain what this sentence means (copied from http://docs.rubygems.org/read/chapter/3)
"Make sure you add the GEM_HOME setup to your profile, so that RubyGems can find the location of your gem repository."
I am on Windows 7. What is "GEM_HOME setup" and how do I add it to my profile?
Thank you.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 29 Aug, 2011 06:04 PM
GEM_HOME is an environment variable that tells RubyGems where to find or install gems from.
You can see the default value of GEM_HOME by doing
gem envin a command prompt and see the value of it aroundGEM PATHS(first element listed there)You can learn about setting environment variables using GUI or command line:
http://support.microsoft.com/kb/310519
http://ss64.com/nt/set.html
http://ss64.com/nt/setx.html
Please note that setting that environment variable is not required unless you installed Ruby using Administrative privileges and normally you don't have them.
Hope this helps.
Luis Lavena closed this discussion on 29 Aug, 2011 06:04 PM.