0
我在Mac OSX 10.8.5上。我有rails和RVM設置。每當終端打開,我有這個錯誤招呼:每次打開終端時出現Bash錯誤
-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*
我是很新的軌道上。雖然這個錯誤信息似乎沒有中斷任何東西,但它很煩人。我將如何編輯我的.bash_profile
以停止此錯誤消息?
您已刪除導致問題的行。不知道你希望如何幫助。另外,這可能屬於超級用戶。 –