jrochkind / faster_s3_url

Optimized generation of public and presigned AWS S3 GET URLs in ruby faster
MIT License
84 stars 7 forks source link

Require CGI explicitly #2

Closed ttilberg closed 4 years ago

ttilberg commented 4 years ago

When I tried testing out the gem in Pry, I was getting NameError: uninitialized constant FasterS3Url::Builder::CGI.

The test suite wasn't catching this, as something in rspec/core is loading it on your behalf.

jrochkind commented 4 years ago

Thanks again!

jrochkind commented 4 years ago

(I am using this code in production, but in a Rails app that of course also already has CGI loaded!)