net-ssh がコケる
Capistorano で SSH 接続がうまく行かなくなって参った。どうも net-ssh がコケてるっぽいので、単体で試してみた。
Mac OS X 10.8.2
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
ruby 1.9.3 は rvm で入れた。system の ruby の Capistorano でやったら問題ない気がするがどうだろう。あとでためそう……
seen from Türkiye

seen from United Kingdom
seen from Netherlands
seen from Austria
seen from Australia

seen from United Kingdom
seen from United States
seen from United States

seen from Qatar

seen from Malaysia

seen from Qatar

seen from Malaysia

seen from United Kingdom
seen from Malaysia
seen from China
seen from Netherlands
seen from United States

seen from United Kingdom

seen from Malaysia
seen from Ireland
net-ssh がコケる
Capistorano で SSH 接続がうまく行かなくなって参った。どうも net-ssh がコケてるっぽいので、単体で試してみた。
Mac OS X 10.8.2
ruby 1.9.3p374 (2013-01-15 revision 38858) [x86_64-darwin12.2.1]
ruby 1.9.3 は rvm で入れた。system の ruby の Capistorano でやったら問題ない気がするがどうだろう。あとでためそう……

Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
Free to watch • No registration required • HD streaming
I had to go a lot further then that! lol.
I had to create a custom gem with some patching to windows version of ruby-opengl
then once that was installed, I had to change the gl_tail.rb in the lib directory. Removed line 28 #gem 'opengl', '~> 0.7.0.pre1'
and just added require 'opengl' instead.
Then I had to install gem install net-ssh-gateway and gem install file-tail, because the gl_tail.rb in lib directory kept on giving LoadErrors.
Even after installing gem install chipmunk. I was getting Missing Chipmink C extension.
Going in to irb and typing in require 'chipmunk' gave this error of missing msvcrt-ruby18.dll.
Thanks to this post, the version to download chipmonk.so was for older version of ruby. I should have not downloaded that. So what I did instead was go in C:\ruby\lib\ruby\gems\1.9.1\gems\chipmunk-5.3.4.5-x86-mingw32 folder and grabbed the chipmonk.so from there and stuck it in that folder sites_ruby. Now require 'chipmonk' returned true. Remember the reason why I have that folder is because I did gem install chipmunk.
Lastly, I was left with this error
C:/ruby/gltail/bin/gl_tail.rb:98:in `trap': unsupported signal SIGHUP (ArgumentE
rror)
from C:/ruby/gltail/bin/gl_tail.rb:98:in `<main>'
I ended up commenting out all the trap's that were no longer support in ruby1.9.
This included HUP, QUIT and USR2 looks like USR1 was already commented out.
This is around line 98 in gltail\bin\gl_tail.rb
And .. finally! gl_tail loaded :)
All that because I was using the most recent version of ruby.