Skip to content

Commit

Permalink
Remove unnecessary version check
Browse files Browse the repository at this point in the history
  • Loading branch information
atanbt committed Feb 14, 2022
1 parent 378df93 commit b324aeb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/paperclip/storage/s3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ def self.extended base
e.message << " (You may need to install the aws-sdk gem)"
raise e
end
if Gem::Version.new(AWS_CLASS::VERSION) >= Gem::Version.new(2) && Gem::Version.new(AWS_CLASS::VERSION) <= Gem::Version.new("2.0.33")
raise LoadError, "paperclip does not support aws-sdk versions 2.0.0 - 2.0.33. Please upgrade aws-sdk to a newer version."
end
end
end

Expand Down

0 comments on commit b324aeb

Please sign in to comment.