Add Ruby Gems on other Unix systems
This commit is contained in:
parent
1622abb830
commit
9dbf98dbe1
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,8 @@ else
|
||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
|
export GEM_HOME="$HOME/Library/Ruby/Gems/1.8"
|
||||||
path=("$GEM_HOME/bin" $path)
|
path=("$GEM_HOME/bin" $path)
|
||||||
|
else
|
||||||
|
path=($HOME/.gem/ruby/*/bin/(N) $path)
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then
|
||||||
&& print vendor/bundle >>! .gitignore \
|
&& print vendor/bundle >>! .gitignore \
|
||||||
&& print vendor/cache >>! .gitignore'
|
&& print vendor/cache >>! .gitignore'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue