2013-06-08 EC2にSSHでログイン→rails not found railsなどのgemで入れたコマンドが効かなくなった。 みてみると~/binのコマンドが効いていない。 bashrcに以下を追加。 .bashrc export PATH=$PATH:/home/ec2-user/binログインした時にbashrcを読むようにする設定 .bash_profile [[ -s ~/.bashrc ]] && source ~/.bashrc