Update announcement.gemspec
This commit is contained in:
parent
3a2806b9b4
commit
9b81190220
|
@ -46,9 +46,12 @@ if old_gemfile_text != new_gemfile_text
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
puts ENV['PWD']
|
puts ENV['PWD']
|
||||||
puts mode
|
puts mode
|
||||||
system("gem install bundler -v 1.17.3")
|
if Dir[ENV['PWD']+'/Gemfile.lock'].blank?
|
||||||
system("cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update")
|
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n"
|
||||||
%x[kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development]
|
else
|
||||||
|
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n"
|
||||||
|
end
|
||||||
|
system("#{command} kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
a.priority = 2
|
a.priority = 2
|
||||||
|
|
Loading…
Reference in New Issue