8
当我试图打开一个文件时,我总是收到这个No such file or directory
错误。我在做:Ruby - 打开(“file_path”) - Errno :: ENOENT:没有这样的文件或目录
file = open("http://farm7.static.flickr.com/6064/6090089285_242ca0e342_m.jpg")
根据ruby-doc并不断收到此类错误。
我在做什么错?
可能重复保存。任何Rails的方式来做到这一点,或者我可以用Ruby文件处理?](http://stackoverflow.com/questions/2515931/i-want-to-download-a-file-from-a-url-to-save - 它-任何护栏路至DO-这-或-CAN) –