try fix
This commit is contained in:
parent
075802dad0
commit
c4a5ada167
|
@ -80,7 +80,7 @@ if old_gemfile_text != new_gemfile_text
|
||||||
else
|
else
|
||||||
command1 = "cd #{env_pwd} && gem install bundler -v 1.17.3 && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update"
|
command1 = "cd #{env_pwd} && gem install bundler -v 1.17.3 && mv -f Gemfile.lock Gemfile.lock.bak123 && bundle update"
|
||||||
end
|
end
|
||||||
Bundler.with_clean_env{system("cd #{env_pwd} && screen -d -m -S auto_reopen_#{dir_name} watch -n 30 bundle exec #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now")}
|
Bundler.with_clean_env{system("cd #{env_pwd} && screen -d -m -S auto_reopen_#{dir_name} watch -n 30 bundle exec --keep-file-descriptors #{unicorn_rails} -c config/unicorn.rb -D -E #{mode}|at now")}
|
||||||
filedata = File.read(env_pwd+"/built_in_extensions.rb")
|
filedata = File.read(env_pwd+"/built_in_extensions.rb")
|
||||||
exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'"
|
exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'"
|
||||||
if filedata.include? exist_str
|
if filedata.include? exist_str
|
||||||
|
|
Loading…
Reference in New Issue