How to install Rails, the wrong way

I’ve always thought the Rails installation instructions on the official Rails website were pretty straightforward, so I couldn’t help laughing when I saw this chat transcript a friend copied and pasted for me:

[5:23:05 PM] X says: try so many times finally can le
[5:23:23 PM] X says: it is not about the version or wat
[5:23:46 PM] Y says: then what is the error?
[5:24:22 PM] X says: the gem install rails–include-dependencies
[5:24:37 PM] X says: between rails and –include got spacing

I know it’s mean to laugh but I’m not a carebear! I think it took him a day to install it despite having installed and uninstalled it for 2 whole months (don’t ask me why, but his environment kept getting borked).

Just a quick note of something I found out while reading Transcending CSS: all the themes (message styles, contact list styles, etc.) in Adium are crafted with our old friends XHTML, CSS and JS. I opened up a few AdiumXtras to see for myself and true enough, <div>s and CSS rules make up the style. Very smart decision by the Adium developers. (1)

Some of the world’s hottest startups - Bezurk on Business 2.0

Business 2.0 recently published an article on the world’s hottest startups outside the US and Bezurk was picked. Nice to know that ;)

Bezurk on Business 2.0


YSlow is a Firefox extension that works with Firebug to grade your web pages’ performance and gives you advice on how to fix any problems. Awesome. It has JSLint built into it too. And yes I got a big freaking F. Via Arun (IRL). (3)

MySQL command line “secret”

Tom Preston-Werner (of Gravatar and Chronic fame) wrote about this neat MySQL command line “trick” where instead of ending your SELECT statements with the usual semi-colon, using a “\G” gives you a very readable output.

mysql> select * from locations where location_code = 'SIN'  limit 1\G
*************************** 1. row ***************************
          location_code: SIN
          location_name: Singapore Changi Apt
multi_airport_city_code: SIN
          location_type: A
      location_sub_type: A
           country_code: SG
             state_code:
                 active: 1
               latitude: 01.22.00N
              longitude: 103.59.00E
1 row in set (0.10 sec)

Very useful, especially when SELECTing multiple fields where the output becomes unfit for visual consumption (you know what I mean, just go SELECT some stuff in your MySQL command line and you’ll see if you don’t).