Update announcement.gemspec
This commit is contained in:
parent
5a66c453c2
commit
05d96d2cb7
|
@ -44,9 +44,9 @@ if old_gemfile_text != new_gemfile_text
|
||||||
end
|
end
|
||||||
files = Dir[ENV['PWD']+'/Gemfile.lock']
|
files = Dir[ENV['PWD']+'/Gemfile.lock']
|
||||||
if files.count ==0
|
if files.count ==0
|
||||||
command1 = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && bundle update"
|
command1 = "cd #{ENV['PWD']} && gem install bundler -v 1.17.3 && bundle update"
|
||||||
else
|
else
|
||||||
command1 = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && 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
|
||||||
pid_file = Dir[ENV['PWD']+'/tmp/pids/unicorn.pid']
|
pid_file = Dir[ENV['PWD']+'/tmp/pids/unicorn.pid']
|
||||||
if pid_file.count == 0
|
if pid_file.count == 0
|
||||||
|
|
Loading…
Reference in New Issue