I'm trying to set up switchtower, following the info in the Manual, but am getting this error when I run "rake remote_exec ACTION=setup": servers: ["cantona.dnswatchdog.com"] /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `sysread': bignum too big to convert into `long' (RangeError) from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in `read' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:167:in `get' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:147:in `synchronize' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/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.3/lib/net/ssh/transport/session.rb:245:in `wait_for_message' from /usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/session.rb:240:in `loop' ... 53 levels... from /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/lib/switchtower/cli.rb:7:in `execute!' from /usr/lib/ruby/gems/1.8/gems/switchtower-0.9.0/bin/switchtower:11 from /usr/bin/switchtower:18:in `load' from /usr/bin/switchtower:18 Any clue what's going on with this? Pat
on 2005-12-22 23:54
on 2005-12-23 01:31
I finally found something on google, and apparently it's again a problem with Apple's install of Ruby. I did a manual install and it works fine now.
on 2005-12-23 02:01
Pat, Do you know specifically what the problem with Apple's ruby install was? I installed and ran the fixrbconfig gem but I still get the same error. I wasn't aware of any other problems with Apple's ruby install. Also, how did you manually install ruby? Did you use DarwinPorts or Fink? Thanks, Shane
on 2005-12-23 03:25
Step 0 at <http://nubyonrails.com/pages/shovel> fixed the problem. Shane
on 2005-12-23 04:16
Yeah, Step 0 is what I did, though I didn't use his script or darwinports/fink. Just downloaded the source from ruby-lang.org, built and installed it, then removed /usr/bin/ruby irb and ri. But it's just the same thing as the suggestions in the step.