Forum: Ruby on Rails Switchtower problem - `sysread': bignum too big to convert i

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Pat M. (Guest)
on 2005-12-23 00:54
(Received via mailing list)
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
Pat M. (Guest)
on 2005-12-23 02:31
(Received via mailing list)
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.
Shane V. (Guest)
on 2005-12-23 03:01
(Received via mailing list)
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
Shane V. (Guest)
on 2005-12-23 04:25
(Received via mailing list)
Step 0 at <http://nubyonrails.com/pages/shovel> fixed the problem.

Shane
Pat M. (Guest)
on 2005-12-23 05:16
(Received via mailing list)
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.
This topic is locked and can not be replied to.