2 ms·
That's a good point, and in this case requiring rubygems does make sense, but I really doubt that's the most common use case. Stuff like this: http://github.co
by masklinn 17y ago
That's a good point, and in this case requiring rubygems does make sense, but I really doubt that's the most common use case.
Stuff like this: http://github.com/mojombo/jekyll/blob/2f2e45bedf67dedb8d1dc0d02612345ee5c893f2/lib/jekyll.rb http://github.com/mojombo/jekyll/blob/2f2e45bedf67dedb8d1dc0... or that: http://github.com/mwunsch/weary/blob/cd7b35ccee66757c5efb0a03cd54f9e89f1eaad7/lib/weary.rb http://github.com/mwunsch/weary/blob/cd7b35ccee66757c5efb0a0... is probably the kind of stuff Ryan rages against in his rant (though you'd have to ask him if that's that, and how he'd see you use case)
- sunkencity 17y agoyep I can agree that require 'rubygems' require 'png' is kind of pointless.