我在 Mac OSX 10.8.5 上。我设置了导轨和 RVM。每次打开终端时,都会收到此错误:
-bash: /Users/Justin/.bash_profile: line 2: syntax error near unexpected token `('
-bash: /Users/Justin/.bash_profile: line 2: `export PATH=/usr/local/bin:(...)'
这是里面的东西.bash_profile
:
source ~/.rvm/scripts/rvm
export PATH=/usr/local/bin:(...)
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
我对 Rails 很陌生。尽管此错误消息似乎没有中断任何事情,但它很烦人。我将如何编辑我.bash_profile
的以停止此错误消息?