SwitchTower works fine here on my Powerbook, for deploying to our
Xserve.
So yes, it should work. Howevery, I''ve no idea about you error.
Thomas
Am 24.09.2005 um 02:06 schrieb Blake Watters:
> Has anyone out there successfully setup SwitchTower on an OS X box?
> On both my PowerBook and my G5 desktop, SwitchTower setup fails
> with the error below (after churning for several minutes).
>
> I believe my recipe is reasonable -- the error looks deeper than
> configuration. Figured I''d see if this trail has been blazed
before
> getting in too deep in the debugging.
>
> Cheers,
> Blake
>
> omi:~/Projects/sharespace blake$ rake remote_exec ACTION=setup
> (in /Users/blake/Projects/sharespace)
> loading configuration /usr/lib/ruby/site_ruby/1.8/switchtower/
> recipes/standard.rb
> loading configuration ./config/deploy.rb
> executing task setup
> executing "mkdir -p -m 775 /var/www/share-space/releases /var/www/
> share-space/shared/system &&\n mkdir -p -m 777 /var/www/share-
> space/shared/log"
> servers: ["XXX.whereever.com"]
> ruby(5932) malloc: *** vm_allocate(size=2080505856) failed (error
> code=3)
> ruby(5932) malloc: *** error: can''t allocate region
> ruby(5932) malloc: *** set a breakpoint in szone_error to debug
> /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/transport/
> packet-stream.rb:203:in `sysread'': End of file reached (EOFError)
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/packet-stream.rb:203:in `read''
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/packet-stream.rb:167:in `get''
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/packet-stream.rb:147:in `synchronize''
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/packet-stream.rb:147:in `get''
> from /usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/
> lifecycle/proxy.rb:60:in `__send__''
> from /usr/lib/ruby/gems/1.8/gems/needle-1.2.1/lib/needle/
> lifecycle/proxy.rb:60:in `method_missing''
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/session.rb:245:in `wait_for_message''
> from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.2/lib/net/ssh/
> transport/session.rb:240:in `loop''
> ... 51 levels...
> from /usr/lib/ruby/site_ruby/1.8/switchtower/cli.rb:174:in
> `execute_recipes!''
> from /usr/lib/ruby/site_ruby/1.8/switchtower/cli.rb:154:in
> `execute!''
> from /usr/lib/ruby/site_ruby/1.8/switchtower/cli.rb:7:in
> `execute!''
> from /usr/bin/switchtower:
> 11_______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>