lib/linner/bundler.rb in linner-0.11.4 vs lib/linner/bundler.rb in linner-0.11.5
- old
+ new
@@ -57,10 +57,10 @@
def install_to_repository(bundle)
FileUtils.mkdir_p File.dirname(bundle.path)
begin
File.open(bundle.path, "wb") do |dest|
if bundle.url =~ URI::regexp
- open(bundle.url, "r:UTF-8") {|file| dest.write file.read}
+ open(bundle.url, "r:UTF-8", {ssl_verify_mode: OpenSSL::SSL::VERIFY_NONE}) {|file| dest.write file.read}
else
dest.write(File.read Pathname(bundle.url).expand_path)
end
end
rescue