From 9dbf98dbe11d6efc6ef4a82735380ddbe58cfe3a Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Wed, 22 May 2013 19:38:19 +0200 Subject: [PATCH] Add Ruby Gems on other Unix systems --- modules/ruby/init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ruby/init.zsh b/modules/ruby/init.zsh index b287cbb2..39638187 100644 --- a/modules/ruby/init.zsh +++ b/modules/ruby/init.zsh @@ -28,6 +28,8 @@ else if [[ "$OSTYPE" == darwin* ]]; then export GEM_HOME="$HOME/Library/Ruby/Gems/1.8" path=("$GEM_HOME/bin" $path) + else + path=($HOME/.gem/ruby/*/bin/(N) $path) fi fi @@ -58,4 +60,3 @@ if (( $+commands[bundle] )); then && print vendor/bundle >>! .gitignore \ && print vendor/cache >>! .gitignore' fi -