How to run ruby script upon log in?

freaky

OSXer
I have a ruby script that I added to /usr/local/bin. To get the script to run I type in "name start" in Terminal. I'd like this command to automatically run each time I log into OS X and was wondering how to accomplish this.
 
Howabout a simple startup script file?
Code:
#! /bin/sh
name start
Set as executable (chmod +x [scriptname]), then add that script file to your Login Items (System Preferences > Accounts > Login Items)...
 
Back
Top