Hi Greg
Thank you for the excellent s3sync.rb script.
It is working great for us.
But we are running s3sync.rb from a bash script, and it would be nice if s3sync.rb is able to run without having to define the working directory to where s3try.rb, S3.rb, etc. are.
This was actually discussed before -
http://developer.amazonwebservices.com/connect/message.jspa?messageID=46318#46318http://developer.amazonwebservices.com/connect/message.jspa?messageID=46312#46312If the working directory is not defined to where the s3sync scripts are, these error messages will appear -
<< /usr/local/etc/s3sync/s3sync.rb:18:in `require': no such file to load -- thread_generator (LoadError) from /usr/local/etc/s3sync/s3sync.rb:18uuid /usr/local/etc/s3sync/s3cmd.rb:12:in `require': no such file to load -- s3try (LoadError) from /usr/local/etc/s3sync/s3cmd.rb:12 >>
I tried changing the scripts. For example, changingline 18 in s3sync.rb from "require 'thread_generator'" to "require '/usr/local/etc/s3sync/thread_generator'", etc. But this introduced other errors.
If you can modify the scripts so that they can be run from anywhere, that would be great.
Thank you.