From 4c382f25e897ea57bc15658010703051bcf08dac Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Wed, 10 Jan 2018 14:44:14 +0100 Subject: [PATCH] load rubygems module correct --- shell/paths.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/paths.sh b/shell/paths.sh index 6f42f49..6fdfde0 100755 --- a/shell/paths.sh +++ b/shell/paths.sh @@ -9,7 +9,7 @@ set_path ~/.local/bin/ set_path ~/.bin if which ruby >/dev/null 2>&1 && which gem >/dev/null 2>&1; then - set_path $(ruby -rubygems -e 'puts Gem.user_dir')/bin + set_path $(ruby -r rubygems -e 'puts Gem.user_dir')/bin fi # PERL cpan modules