YAB
Yet Another Blog
Subscribe to feed
‹ Jet Lag: Which country am I in today? • Feevy.com launch ›
February 2, 2007 in Uncategorized by alx | 1 comment
Ruby programmers are really lazy geeks:
require 'rubygems' require 'rio' rio("http://www.remote.com/file.jpg") > rio("#{RAILS_ROOT}/public/images/")
Rio gem RDoc
Tags: dev, download, file, gem, prog, programmation, rio, ruby, rubygems, simple
Comments feed for this article
Trackback link
http://blog.alexgirard.com/ruby-simple-way-to-download-a-file/trackback/
February 23, 2007 at 5:50 am
sandoh
This is a nice tip. To get this to work for me I had to sudo gem install rio, and also put the complete path name.
1 comment
Comments feed for this article
Trackback link
http://blog.alexgirard.com/ruby-simple-way-to-download-a-file/trackback/
February 23, 2007 at 5:50 am
sandoh
This is a nice tip. To get this to work for me I had to sudo gem install rio, and also put the complete path name.