https://teamtreehouse.com/forum/ruby-on-rails-subl-command-not-found
subl Gemfile -bash: subl: command not found
Run this in your terminal:
This will create an alias, which will subsequently enable you to open sublime withe subl
command. open -a
stands for "open application".
To view all your aliases simply run alias
in your terminal. To remove an alias run unalias aliasname
. HTH :)
下边这个可以加link
ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl