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.open(ENV['PWD']+'/Gemfile', 'w') do |file|
|
||||||
file.write new_gemfile_text
|
file.write new_gemfile_text
|
||||||
end
|
end
|
||||||
a = Thread.new do
|
Bundler.with_clean_env do
|
||||||
Bundler.with_clean_env do
|
|
||||||
Thread.stop
|
|
||||||
puts 'waiting'
|
|
||||||
puts ENV['PWD']
|
puts ENV['PWD']
|
||||||
puts %x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}']
|
puts %x[cd '#{ENV['PWD']}' && bundle update && cd '#{app_path}']
|
||||||
puts 'test123'
|
puts 'test123'
|
||||||
end
|
end
|
||||||
end
|
|
||||||
sleep 0.5
|
|
||||||
a.wakeup
|
|
||||||
a.join
|
|
||||||
#Thread.exit
|
#Thread.exit
|
||||||
end
|
end
|
||||||
# Describe your gem and declare its dependencies:
|
# Describe your gem and declare its dependencies:
|
||||||
|
|
Loading…
Reference in New Issue