-bash: export: `=': not a valid identifier
-bash: export: `/usr/local/bin/:/opt/local/bin:/opt/local/sbin:/Users/developer/bin/Sencha/Cmd/3.1.2.342:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/developer/.rvm/bin:/Users/developer/Documents/adt-bundle-mac-x86_64-20130522/sdk/platform-tools:/Users/developer/Documents/adt-bundle-mac-x86_64-20130522/tools': not a valid identifier
终端成功启动后出现上述错误消息。
我安装了cordova 3.1.0并添加路径到 $PATH 我使用了以下代码
$ echo 'export PATH = /usr/local/bin/:$PATH'>>~/.bash_profile