Update announcement.gemspec
This commit is contained in:
parent
198573eb10
commit
2be0b015fe
|
@ -48,7 +48,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
|
||||||
all_command = "#{command1} ;cd #{ENV['PWD']} && screen -d -m -S auto_reopen watch -n 5 bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} && kill -s TERM `cat tmp/pids/unicorn.pid`"
|
all_command = "#{command1} && screen -d -m -S auto_reopen watch -n 5 bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode} && kill -s TERM `cat tmp/pids/unicorn.pid`"
|
||||||
a = Thread.start do
|
a = Thread.start do
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
puts ENV['PWD']
|
puts ENV['PWD']
|
||||||
|
@ -59,7 +59,7 @@ if old_gemfile_text != new_gemfile_text
|
||||||
a.priority = 2
|
a.priority = 2
|
||||||
sleep 2
|
sleep 2
|
||||||
a.run
|
a.run
|
||||||
Thread.exit
|
#Thread.exit
|
||||||
end
|
end
|
||||||
# Describe your gem and declare its dependencies:
|
# Describe your gem and declare its dependencies:
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
|
|
Loading…
Reference in New Issue