aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '%HOME%/.bashrc')
-rw-r--r--%HOME%/.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 5c2e619..dbaae9b 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -44,10 +44,10 @@ update_ruby_settings() {
command -v ruby &> /dev/null \
&& command -v gem &> /dev/null \
- && user_dir="$( ruby -e 'print Gem.user_dir' )" \
+ && user_dir="$( ruby -e 'print Gem.user_dir' )" \
+ && export GEM_HOME="$user_dir" \
&& bin_dir="$( ruby -e 'puts Gem.bindir' )" \
- && add_path "$bin_dir" \
- && export GEM_HOME="$user_dir"
+ && add_path "$bin_dir"
}
update_ruby_settings