Ruby Xocolatl

Ruby, Cocoa, Mac OS X and things of my not so exciting life.

Server Output in RoRGate

I’ve added a developer menu to the resulting apps in RoRGate, if you download the 0.3 beta version you will see the change: With that, you as developer can use it to see your app in action, see the server output and edit it in TextMate. The only thing is that the server output works strange with 2.x rails apps, I don’t know why, but only the error output is displayed in such rails apps. I use the NSTask class with an NSPipe for both the standart output and error but with rails 2.x it behaves strangely. Also I’ve embedded RubyCococa, but I can’t make it work in both Leopard and Tiger because of libffi.dylib. Leopard’s RubyCocoa has it installed in /usr/lib and I don’t know where it is in Tiger. Maybe the solution is to create a Tiger version and a Leopard version, but I’m very lazy and I’d rather have only one. Lastly, I need a new laptop (many of my friends will agree) and because of that, I’ve added a donations pledgie badge for RoRGate and some ads here in my blog. I’m a student and I own an iBook G3 which has been giving me a lot of trouble lately, so as I’m most of the time at school (school’s computers ain’t good either) deploying to or developing for a lot of platforms I need a new one, one in which running a single unit test doesn’t seem to last forever and I hope some of you(friends or not) could help me. My-new-laptop blogthon :) has begun.