Closed schungx closed 3 years ago
The latest version with persistent HTTP calls is failing with the following error:
missing dependency for Faraday::Adapter::NetHttpPersistent: cannot load such file -- net/http/persistent
The call is to create_block_blob.
create_block_blob
The appropriate dependencies have been specified:
gem 'faraday_middleware', '1.0.0', {require: false} gem 'net-http-persistent', '4.0.0', {require: false} gem 'azure-storage-common', '2.0.2', {require: false} gem 'azure-storage-blob', '2.0.1', {require: false} require 'azure/storage/blob'
And yes, I can see net-http-persistent being bundled.
net-http-persistent
I tried putting: require 'net/http/persistent' here but it doesn't help. The same error.
require 'net/http/persistent'
Any pointers?
Turns out that it seems Faraday's internal dependency loaded conflicts with the Bundler for net-http-persistent.
Faraday
This brings about an urgent need to have an option to disable net-http-persistent...
The latest version with persistent HTTP calls is failing with the following error:
The call is to
create_block_blob
.The appropriate dependencies have been specified:
And yes, I can see
net-http-persistent
being bundled.I tried putting:
require 'net/http/persistent'
here but it doesn't help. The same error.Any pointers?