Category: OS X

  • Mysql Gem on Leopard

    After getting a whole lot of errors, I found the only way I could get this gem to work is the following: -Install x86 version of mysql -Install Gem like the following: sudo gem install mysql — –with-mysql-dir=/usr/local/mysql –with-mysql-config=/usr/local/mysql/bin/mysql_config –remote I hope that helps…

  • Startup Scripts on OS X

    I have a set number of programs that I usually want to start when my macbook pro boots up. But sometimes I want to boot in a hurry and all the startup items bother me. I came up with a solution I thought I’d pass on. I load Aquamacs automatically, as I use it for […]

  • Get Name of Current Directory

    The following gets you the full path… pwd example: /home/tim/my_project What if you just want my_project? This comes in handy when writing backup scripts for coding directories. pwd | sed ‘s/.*\///g’

  • Getting Rails Up on OS X

    If you’re having problems with the standard OS X install of ruby, check out http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/.