« gothkawa | Main | more dots »
May 03, 2006
installing Ruby and Rails on on OS X
just installed the latest version of Ruby and Rails on my Mac. it was mostly straightforward, thanks to a couple blogs, and i thought i'd record the process here for posterity's sake.
i didn't want to use the system-installed ruby because i like to have a compartmentalized development environment that won't break with every system update. i didn't want to use Fink or DarwinPorts because i don't like waiting for people to get around to packaging the things i need. if i have to build some of my toolset myself, i might as well build all of it.
i built Ruby, Rails, FastCGI and LightTPD from source and installed the MySQL 5.0.21 OS X package using this excellent guide. the only problem i encountered was building the native mysql bindings for ruby. when i tried to install the mysql gem, it offered me three different versions, and i got linking errors when building the most recent one (2.7). this article told me to build the bindings from scratch, and that worked just fine.
so now i'm ready to write some software. my job includes one day a week of working on a personal project. i'm going to build an app for scheduling our conference rooms. nobody uses our system. i'm sick of writing my name with a pencil in one of the appointment books at the front desk and then going downstairs to find some helmet calling his girlfriend in the room i just booked. my shit will be infinitely scalable and robust with high availability. Google, Yahoo, and Fox will be tearing each others' throats out to give me battleship money for it. just watch.
Posted by bcm at May 3, 2006 01:59 PM
Comments
"some helment calling his girlfriend" haha
Posted by: le
at May 5, 2006 11:35 PM
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)