tech Articles

Rails issue solved

February 10 2007

Wee post to express my thanks to Jonathan Linowes of Vaporbase for the advice on the issues I had with Ruby on Rails.
After reading the first page of his RoR setup, I went through the hidden files on my user directory. Noticing how similar the conent of .bash_login (amended for ruby) and .bash_profile (generated by MacPython) I ameded the latter to include the statements of the former and I now have both a working version of Ruby on Rails and Django. Love it when a plan comes together.

Now to test my true nerd power as I simultaneously develop a site in both Django and Ruby on Rails and let the client choose…..

Jimbo’s got a brand new bag

February 8 2007

My lovely new vaude bag arrived in the mail today, nice and roomy, with a removable laptop shell, perfect for taking a macbook and my d50 to various conferences and generally out and about.

Working on an asp.net microformats implementation that I reckon might be useful at work, if not I may just release the code here for folks to tinker with.

Now back to 24 season 5…..

Rails on a Mac…Help!

February 5 2007

My head is absolutely splitting today, think it’s the result of wearing a hoodie in an already hot office, like the idiot I am.

Anyway, I’ve been immersed in Django for the past 3 days and I’m really not getting tired of it. Showing off the “I can build an app in 10 mins” demo to anyone who will listen, in fact the homeless guy outside the office was surprised as to how fast is was and hoe elegant the code was.

Because I’m always oblivious to these things, I didn’t realise there were lines being drawn in the sand with Django facing off Ruby on Rails. Personally I see both being of immense use to my c.v utility belt and I’d love to work with Ruby on Rails, it looks like a fun framework.

So, I followed this fantastic installation guide by Dan Benjamin and everything went smoothly to the point of creating a test app, but when I tried to create a new app I keep getting told that the Rails command is not found, even though the bash_login file is pointing at the correct path (which, according to a few google searches is the common cause of the problem).

It’s driving me nuts, if anyone knows what I’m doing wrong here, I wouldn’t mind a hand.

Love Django

February 4 2007

Spent a good chunk of this weekend playing with the Django web framework, it’s frankly the best web app creation framework I’ve ever used. I love the use of a url configuration file to make requests to a db and serve out a page, as opposed to the old method of rolling code into physical files. This just feels so much cleaner than a server cluttered with asp and php files.

I’m working on transferring this blog over to Django from wordpress/php, so far I’ve worked on it for about 2 hours and I’m almost done, thanks to Django’s wonderful admin suite which is built as you create your application. As I say, it’s an amazing platform. I’ll be using this opportunity to work on properly working with Microformats and better integration with the RSS feeds provided by the other services I subscribe to…oh it’s going to be awesome fun!