Tuesday, December 28, 2010

Ruby file operations

FileUtils is a Ruby module that provides basic file operations, such as copy, remove, rename, etc. But I met the following error that I don't have a solution. Clearly the file was there, but the FileUtils.copy didn't work.

/usr/lib/ruby/1.8/FileUtils.rb:1200:in `stat': No such file or directory

No comments:

Post a Comment