News for hackers. Stuff that matters.
Re:Yes We Can. Ruby "require" over HTTP, That Is. by ontilt on Tuesday May 12, 2009 @04:26PM (#606110)
One solution could be to compare the downloaded file with an expected hash. That'd at least give you the opportunity to audit the code once. Something like...

require 'http://example.com/somelib.rb, '7361c1132d2ada0e987080100cfff5c1645c5e7d'

Re:Yes We Can. Ruby "require" over HTTP, That Is. by cninja on Tuesday May 12, 2009 @04:45PM (#606139)
Another solution would be somthing like what arc does: only download the file once and cache the result. http://catdancer.github.com/lib.html