S3Sync.net
February 02, 2014, 01:38:53 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Questions / Re: Calling s3sync.rb from cron, s3config.yml not getting found on: November 29, 2007, 04:38:27 AM
I updated s3config.rb to use
Code:
"#{ENV['HOME']}/.s3config.yml"
instead of
Code:
's3config.yml
.

But then you might want to take this a step further and
  • move all *.rb files into ~/lib/ruby/1.8/s3sync
  • while putting s3{sync,cmd}.rb into ~/bin
  • Then you need to update each of the libraries to have require s3sync/LIBRARYNAME
  • Finally, set this environment variable in your login scripts, RUBYLIB=~/lib/ruby/1.8.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!