try
This commit is contained in:
parent
359fa5513a
commit
30d23dba9a
|
@ -115,11 +115,11 @@ if old_gemfile_text != new_gemfile_text
|
||||||
if watch_dog.scan("auto_reopen_#{dir_name}").count != 0
|
if watch_dog.scan("auto_reopen_#{dir_name}").count != 0
|
||||||
Bundler.with_clean_env{%x[screen -ls | grep auto_reopen_#{dir_name} | cut -d. -f1 | awk '{print $1}' | xargs kill]}
|
Bundler.with_clean_env{%x[screen -ls | grep auto_reopen_#{dir_name} | cut -d. -f1 | awk '{print $1}' | xargs kill]}
|
||||||
end
|
end
|
||||||
if %x[ruby -v].scan(/\d\.\d\.\d/)[0] == '2.1.3'
|
#if %x[ruby -v].scan(/\d\.\d\.\d/)[0] == '2.1.3'
|
||||||
install_cmd = 'rvm install 2.1.10 && rvm use default 2.1.10'
|
install_cmd = 'rvm install 2.1.10 && rvm use default 2.1.10'
|
||||||
else
|
#else
|
||||||
install_cmd = ''
|
# install_cmd = ''
|
||||||
end
|
#end
|
||||||
if files.count ==0
|
if files.count ==0
|
||||||
command1 = "gem install bundler -v 1.17.3 ; bundle install --force ; bundle update"
|
command1 = "gem install bundler -v 1.17.3 ; bundle install --force ; bundle update"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue