Posted by Peter
on Oct 31, 08
Thanks to
teamon you can add life to your Merb.logger by simple adding this patch in lib/color_logger.rb
and load it in file config/environments/development.rb using
Merb.push_path(:lib, Merb.root / "lib")
Posted by Peter
on Oct 15, 08
I was having this weird issue for sometime when starting Merb in a frozen app and I was even using ruby 1.8.6:
[BUG] cross-thread violation on rb_gc()
ruby 1.8.2 (2004-12-25) [universal-darwin8.0]
Abort trap
Google didn't help me, then I remember about the new 'thor merb:gems:redeploy' task that recompile gems on the target platform and gave it a shot, resulting:
Building native extensions. This could take a while...
Successfully installed do_mysql-0.9.6
Building native extensions. This could take a while...
Successfully installed fastthread-1.0.1
Building native extensions. This could take a while...
Successfully installed hpricot-0.6.161
Building native extensions. This could take a while...
Successfully installed mongrel-1.1.5
Fastthread was probably compiled with the original OSX Ruby 1.8.2 resulting in this [BUG]!?
Awesome, I have my merb app working again in my dev box. Now updating it to work with Merb RC1 and new merb-auth.
Thanks thor!
Peter.