S3Sync.net

General Category => Questions => Topic started by: ScottTFrazer on July 17, 2008, 02:20:10 PM



Title: Windows installation failing...
Post by: ScottTFrazer on July 17, 2008, 02:20:10 PM
I'm trying to install s3sync on a windows machine.  I did the ruby one-click installer, and installed the latest s3sync, but I'm getting the following error message when I try to run the s3cmd.rb file:

Code:
D:\s3sync>s3cmd.rb listbuckets
./s3config.rb:20: undefined method `each_pair' for #<String:0x2d8e5d0> (NoMethod Error)
        from ./s3config.rb:17:in `each'
        from ./s3config.rb:17
        from D:/s3sync/s3cmd.rb:23:in `require'
        from D:/s3sync/s3cmd.rb:23

Any idea what's going on here?  I'm no ruby expert.

Thanks!
Scott


Title: Re: Windows installation failing...
Post by: ScottTFrazer on July 17, 2008, 02:25:31 PM
Annnnnd....  I figured it out on my own.

That line is where it tries to read the configuration file.  I'd delimited the values with an "=" instead of a ":" (I'm a shell code guy at heart)

fixing that solved the error.

Scott