Switchtower problem - `sysread': bignum too big to convert i


#1

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 intolong’ (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:inget’
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:inget’
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:inmethod_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:inloop’
… 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:inload’
from /usr/bin/switchtower:18

Any clue what’s going on with this?

Pat


#2

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.


#3

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


#4

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.


#5

Step 0 at http://nubyonrails.com/pages/shovel fixed the problem.

Shane