Rails on Mac OS X Tiger

Some notes from getting Rails configured with NetBeans and Mac OS X Tiger (10.4).  These were areas where I got stumped for a bit.

* If you have lost your OS X 10.4 DVDs download X11 here Install X11 on Tiger without the Tiger install DVD | Chris Martin
* Really, if you're following the instruction from step one, make sure the mysql socket file is actually typed /tmp/myslq.sock, and not /tmp/mysqld.sock
* There's currently an issue (2/19/2009) running the subversion macports command, db46 does not quite work because of a checksum error.  There is a way to fix the port manually, but got way to involved for my taste.  Instead, I installed the collabnet version.  This doesn't seem to work with netbeans and using a username/password combo w/in netbeans, but you can always do it outside of the IDE.  UPDATE: I ended up fixing this by manually applying the patch here: https://trac.macports.org/ticket/18515#comment:9
* When setting up the database.yml file, you need to add "socket: /tmp/mysql.sock" for the Rails environment to find your mysql database for dev, test, and prod sections.  I lost at least 3 hours because of this and addning the stupid mysqld.sock name instead of mysql.sock.

Read and post comments | Send to a friend

Advertisements

About ashleyroach

This is purely the work of the author, it is not affiliated with my employer.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s