download method requires curl present
wnoronha opened this issue · comments
Some systems by default do not have curl installed.
May be another way you can do this is by using open-uri, open-uri is part of the standard lib so things should be a lot simpler.
require 'open-uri'
file = open(url).read
FileUtils.cp(src, dst)
Fair enough. On master, CloudCrowd now uses streaming Net::HTTP for downloading files. Here's the commit.
http://github.com/documentcloud/cloud-crowd/commit/a7bd56d22e16fa0106982efd732777198aabccac
Closing the ticket.