-
-
Save benschwarz/237457 to your computer and use it in GitHub Desktop.
This file contains 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
# Install gems locally, and only locally, without gem complaining | |
# about path access, and ensuring access to executables. | |
# | |
# Goes in config.fish | |
set -gx GEM_PATH "$HOME/.gem/ruby/1.8" | |
set -gx GEM_HOME "$HOME/.gem/ruby/1.8" | |
set -gx PATH "$HOME/.gem/ruby/1.8/bin:$PATH" |
This file contains 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
# Install gems locally, and only locally, without gem complaining | |
# about path access, and ensuring access to executables. | |
# | |
# Goes in .bash_profile or .bash_login. | |
export GEM_PATH="$HOME/.gem/ruby/1.8" | |
export GEM_HOME="$HOME/.gem/ruby/1.8" | |
export PATH="$HOME/.gem/ruby/1.8/bin:$PATH" |
This file contains 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
http://ujihisa.blogspot.com/2009/06/rubygems-best-practice.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment