What have you found for these years?

2009-01-05

single-user only rubygems

setup runtime:

bash: (~/.bashrc)

export GEM_HOME=$HOME/.gem/ruby/1.8
export GEM_PATH=$GEM_HOME


fish: (~/.config/fish/config.fish)
set GEM_HOME $HOME/.gem/ruby/1.8
set GEM_PATH $GEM_HOME


setup config:
echo "gemhome: $GEM_PATH
gempath: - $GEM_PATH" > ~/.gemrc


now system gem would not mess-up your user gem.

0 retries:

Post a Comment

Note: Only a member of this blog may post a comment.



All texts are licensed under CC Attribution 3.0