[email protected]:~/code$ rails -v
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
[email protected]:~/code$ source ~/.profile
[email protected]:~/code$ rails -v
Rails 3.2.1
"source ~/.profile"을 실행할 때까지 명령이 작동하지 않는 이유는 무엇입니까? 내 컴퓨터를 돌리거나 새 터미널 창을 열 때마다이 작업을 수행하지 않아도됩니다.터미널에서 "source ~/.profile"을 실행할 때까지 RVM이 인식되지 않습니다.
잘 모르겠지만 http://rvm.io/support/faq#what-shell-login-means-bash-l 링크가 깨진 게시물에있는 링크 일 수 있습니다. –