@
cdfmr 你好!谢谢回复。按照你的建议先输入:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
然后输入
vi .bash_profile
显示如下:
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function
##
# Your previous /Users/kaiweiwang/.bash_profile file was backed up as /Users/kaiweiwang/.bash_profile.macports-saved_2013-08-06_at_19:04:22
##
# MacPorts Installer addition on 2013-08-06_at_19:04:22: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
test -r /sw2/bin/
init.sh && . /sw2/bin/
init.shtest -r /sw/bin/
init.sh && . /sw/bin/
init.shexport PATH="HOME/.rbenv/bin:SPATH"
eval "$(rbenv init -)"
export PATH="HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:SPATH"
export PATH="$HOME/.rbenv/bin:$PATH"
export PATH="$HOME/.rbenv/bin:$PATH"
~
~
~
~
~
然后就不动了。不知下步如何进行。多谢!