If you get the following error:
undefined local variable or method `remote_gemspecs’
Then run:
sudo gem install rubygems-update
sudo gem update
Friday, December 05, 2008
Set JAVA_HOME on Mac OSX
If you want to install the rjb Ruby Gem, you will need to set the JAVA_HOME environment variable.
Add the following line to ~/.login or /etc/profile and restart your terminal.
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home
Add the following line to ~/.login or /etc/profile and restart your terminal.
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Home
Subscribe to:
Posts (Atom)