Cygwin, rvm, and rebaseall
Had some awful pain trying to get Cygwin to play ball with rvm.
As experienced Cygwin users will know, you have to run /bin/rebaseall every now and then, which fixes errors that look like this:
C:\cygwin\bin\python.exe: *** unable to remap C:\cygwin\bin\cygssl.dll to same address as parent(0xDF0000) != 0xE00000
The problem I was getting with rvm was that rebaseall didn’t know anything about the custom ruby executables that rvm was installing, so they weren’t being fixed.
Happily, it turns out that rebaseall has a -T switch which according to the README allows you to specify filelist (or stdin) to list additional files.
I did this in bash:
find ~/.rvm/rubies/ -iname "*.dll" -print > ~/FileList.txt
find ~/.rvm/rubies/ -iname "*.so" -print >> ~/FileList.txt
And then in ash:
/bin/rebaseall -v -T /home/my-user-name/FileList.txt
That seems to have fixed it. I guess I’ll have to do this again every time I add a ruby executable, so I wanted to record it here.
Cinco Mobile Framework links
I watched RailsConf 2011′s keynote by David Heinemeier Hansson.
There was some mention of a new mobile JavaScript framework by 37signals called “Cinco”.
Some Googling led me this comment:
Basecamp Mobile is written in CoffeeScript using our in-house Cinco mobile framework, which ties together Backbone.js, Zepto, the Eco templating language, and Stitch.
Possibly one to keep an eye out for.