HackingDecember 30, 2006 4:56 am hacking
I’ve been trying to do some Win32-related hacking in GTK. I got a couple theme patches for notebook rendering approved, and I’ve got a patch up for review that fixes an issue with windows not receiving enough expose events when they’re being resized. Now I’m trying to understand and fix some issues related to modality and transience of windows. That’s a pretty difficult bug though. Somehow I’ve managed to get Windows XP to have multiple titlebars highlighted as though the windows are focused, although only one of them is focused in the taskbar. I hate Windows.
I’ve also been fooling around with Ruby a little bit, and I installed Rails yesterday. I was initially deceived by its inclusion in Ubuntu’s apt repository. Apparently if you want to use Rails on Linux, it’s easier to just install RubyGems and install Rails and its dependencies through gem. The instructions on the RubyGems site was a little bit inaccurate for installation to your home directory, though. You need to make some environment variable adjustments:
export GEM_HOME=$PREFIX/lib/ruby/gems/1.8 export RUBYLIB=$PREFIX/lib/ruby:$PREFIX/local/lib/site_ruby/1.8
There are some problems with using the version of Rails that’s included in Ubuntu’s apt. Like missing very important features, like ActiveRecord and Initializer.