ruby shucks

use drb, get:

TypeError: can’t convert Class into String

This meant:

given

begin

rescue => e

you can’t do

puts “abc” + e.class + e.message

 

no, apparently the + e.class is not good enough.

 

git submodule update does nothing

this means “you did git submodule init with an older version of git, apparently it was messed up”

fix: update git/msysgit, then
c:\dev\ruby\sensible-cinema>git submodule update

# does nothing!

c:\dev\ruby\sensible-cinema>cd lib

c:\dev\ruby\sensible-cinema\lib>rm -rf jruby-swing-helpers # remove submodule

c:\dev\ruby\sensible-cinema\lib>cd ..

c:\dev\ruby\sensible-cinema>git submodule init

c:\dev\ruby\sensible-cinema>git.exe submodule init | cat
Submodule ‘lib/jruby-swing-helpers’ () registered for path ‘lib/jruby-swing-helpers’