fix first install
This commit is contained in:
parent
9b200c9332
commit
a2b7ed7804
|
@ -31,7 +31,11 @@ if bundle_update_flag
|
|||
end
|
||||
save_zip_name = "#{ENV['PWD']}/tmp/ffmpeg-4.2-linux-64.zip"
|
||||
IO.copy_stream(download, save_zip_name)
|
||||
begin
|
||||
require 'zip'
|
||||
rescue LoadError
|
||||
bundler_with_clean_env{system("gem install zip-zip")}
|
||||
end
|
||||
FileUtils.mkdir_p(destination)
|
||||
Zip::File.open(save_zip_name) do |zip_file|
|
||||
zip_file.each do |f|
|
||||
|
|
Loading…
Reference in New Issue