Run each command in the Terminal (in this order):
$ sudo rm -rf /usr/local/bin/subl
$ sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl /usr/local/bin
$ subl .
This should work!
Note: First you should check that your sublime’s app is in Applications folder and it’s name is Sublime Text 2, if not, you should change the name in the second command and type the name of sublime’s app.