Update announcement.gemspec
This commit is contained in:
parent
4326f940aa
commit
507c2976fb
|
@ -34,18 +34,11 @@ if old_gemfile_text != new_gemfile_text
|
|||
File.open(ENV['PWD']+'/Gemfile', 'w') do |file|
|
||||
file.write new_gemfile_text
|
||||
end
|
||||
a = Thread.new do
|
||||
Bundler.with_clean_env do
|
||||
Thread.stop
|
||||
puts 'waiting'
|
||||
Bundler.with_clean_env do
|
||||
puts ENV['PWD']
|
||||
puts %x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}']
|
||||
puts 'test123'
|
||||
end
|
||||
end
|
||||
sleep 0.5
|
||||
a.wakeup
|
||||
a.join
|
||||
#Thread.exit
|
||||
end
|
||||
# Describe your gem and declare its dependencies:
|
||||
|
|
Loading…
Reference in New Issue