You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to the latest version of carrierwave, CarrierWave::Storage::Fog::File#public_url started to raise undefined method 'gsub' for nil:NilClass for URI parser. It seems that this is due to this commit, which changed usage of path from path.to_s to path for #encode_path method. Thus, the use case of path being nil is not considered.
Hello there,
After upgrading to the latest version of
carrierwave
,CarrierWave::Storage::Fog::File#public_url
started to raiseundefined method 'gsub' for nil:NilClass
for URI parser. It seems that this is due to this commit, which changed usage of path frompath.to_s
topath
for#encode_path
method. Thus, the use case ofpath
beingnil
is not considered.Following line
carrierwave/lib/carrierwave/utilities/uri.rb
Line 14 in 8b33235
should be
The text was updated successfully, but these errors were encountered: