How to change default application in OS X
Since I installed xcode, all my ruby files (.rb) opens in xcode by default. I much prefer textmate.
To change the set default application,
- Select a file on Finder
- Right click to display the context menu and select "Get Info"
- In "Open with:" section, you can change the default application.
- Don't forget "Change All..." to save the change.