just remove the file:
rm -f /home/abhinay/.rvmrc
rvm will work just fine without it, additionally it is not required to force rvm_path
- rvm does great job detecting it - especially as the $HOME/.rvm
- is the default
Вопрос
I am getting this error after i have executed this command
"echo 'rvm_path="$HOME/.rvm"' >> ~/.rvmrc –".
.
As suggested by someone in this forum.The program 'bundle' is currently not installed and now ,Even i try to change the directory it is showing like
-:command not found
-:command not found
-:command not found
-:command not found
.I don't know what happened but before this,i was using rails by logging through /bin/bash --login command but now i am getting this error.
abhinay@abhinay-Pc:~$ rvm -v
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
/home/abhinay/.rvmrc: line 1: $'\342\200\223': command not found
rvm 1.22.10 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
abhinay@abhinay-Pc:~$ cd rails_projects
–: command not found
–: command not found
–: command not found
Решение
just remove the file:
rm -f /home/abhinay/.rvmrc
rvm will work just fine without it, additionally it is not required to force rvm_path
- rvm does great job detecting it - especially as the $HOME/.rvm
- is the default