RVM自動生成:
~/.bash_profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
~/.bashrc
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
》由於ubuntu 12.04預設不會執行.bash_profile,會造成找不到執行檔路徑的錯誤
請手動加入此行於~/.bashrc
source ~/.bash_profile
沒有留言:
張貼留言