From 8211587734b14da84d191388723bad3f393f4b9a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 4 Nov 2016 03:11:46 +0300 Subject: update_ruby_settings: code style --- %HOME%/.bashrc | 6 +++--- 1 file 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 -- cgit v1.2.3