S3Sync.net
February 02, 2014, 01:32:24 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: NoMethodError when running sync on: April 01, 2007, 08:07:28 AM
Hi Ferrix,

Thanks for responding so quickly, I was actually visiting this morning to add a post to say I actually cracked this last night, it seems that you need to get the macports version of ruby first in the PATH even if you explicitly point to the ruby interpreter in the macports dir.  All working splendidly now.  Thanks for such a great tool.
2  General Category / Questions / NoMethodError when running sync on: March 31, 2007, 03:10:56 PM
Hi,

I'm trying to get s3sync/s3cmd working under OSX to backup my music collection.

I've installed ruby 1.8.5 from darwinports but am seeing the following behaviour when I try to send a file to s3 with s3cmd:

Code:
buster:~/Desktop/s3sync nick$ ./s3cmd.rb list testnpv:test
--------------------
buster:~/Desktop/s3sync nick$ ./s3cmd.rb put testnpv:test ../gems.pdf
./HTTPStreaming.rb:42:in `request': undefined method `body_stream=' for #<Net::HTTP::Put PUT> (NoMethodError)
        from ./S3_s3sync_mod.rb:50:in `make_request'
        from ./S3.rb:152:in `put'
        from ./s3try.rb:57:in `send'
        from ./s3try.rb:57:in `S3try'
        from ./s3cmd.rb:172:in `s3cmdMain'
        from ./s3cmd.rb:207

s3cmd reports that it is version 1.0.5

I'm not sure what might be causing this, perhaps it's my ruby setup, but if anyone could give me a pointer it would be much appreciated.

Cheers,

Nick
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!