SyntaxHighlighter

Sunday, September 09, 2007

Setting up a Mac for Ruby on Rails Development

I use Textdrive.com for my hosting, and I was developing on a Windows PC running XP pro. I wanted to switch to a Mac so I could (hopefully) load the gems that I need in my ruby application like ImageScience, or Mini-Magick. I was having trouble getting these running on a PC. I assumed the operating system of the Mac and my Linux based server would be more similar than the pc, and a laptop sounds useful.

So I bought a 15" macbook pro from Powermax and followed the instructions on this site:

http://hivelogic.com/narrative/articles/ruby_rails_lighttpd_mysql_tiger

Textdrive uses Rails 1.1.6, so I stuck with the older installs on Rails. For the most part, the article was great - a little out of date with a few links, but those were easy enough to work around. For example, the link to the Mac Mysql package was old, but finding the latest link was easy enough.

There is an updated article referenced that I didn't try.

Overall, setting up the Mac for development with Ruby on Rails went very smoothly. I'm pretty new to system configuration, and it's been years since I used a mac regularly, so I was pleasantly surprised how it went. I now only use the PC for IE testing and for Photoshop work (until I can start creating graphics on the Mac).

No comments:

Post a Comment