Created
September 24, 2009 01:44
-
-
Save apeckham/192443 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use RubyMine, RVM (Ruby Version Manager) and REE (Ruby Enterprise Edition) on Snow Leopard, I had to: | |
sudo ln -s /Users/yourname/.rvm/ruby-enterprise-1.8.6-20090610 /opt/ | |
Then, in RubyMine Preferences, select Ruby SDK and Gems, Add SDK... and choose /opt/ruby-enterprise-1.8.6-20090610/bin/ruby | |
And put this into ~/.MacOSX/environment.plist. Then log out and log back in. | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>GEM_HOME</key> | |
<string>/Users/yourname/.rvm/gems/ruby-enterprise/1.8.6</string> | |
<key>GEM_PATH</key> | |
<string>/Users/yourname/.rvm/gems/ruby-enterprise/1.8.6</string> | |
<key>MY_RUBY_HOME</key> | |
<string>/Users/yourname/.rvm/ruby-enterprise-1.8.6-20090610</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment