문제
나는 우분투를 실행하는 10.04 명료하고 아마 잘못을 제거 RVM 그리고 지금 그 솔기가 아닌 것에서 완전히 제거 시스템입니다.지금 나는 설치는 다시 하지만 문제가 생겼습니다.
무슨 일을 내가 이상한 출력을 생성하려고 할 때 일부를 실행하는 명령 라인:
# Note that following command lines don't output the version
# (between the word "version" and the word "is") as it should be.
$ rvm
$ rvm -v
> -bash: /usr/local/rvm/scripts/base: No such file or directory
> A RVM version is installed yet 1.10.3 is loaded.
> Please do one of the following:
> * 'rvm reload'
> * open a new shell
# Even if I use the 'cd' command I have problems...
$ cd ..
> -bash: /usr/local/rvm/scripts/initialize: No such file or directory
> -bash: /usr/local/rvm/scripts/hook: No such file or directory
아마 즉 RVM 올바르게 제거하는 경우에도 루비 솔 실행할 뿐만 아니라:
$ which ruby
/usr/local/bin/ruby
$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
그래서, 무엇을 할 수 있을 완전히 제거를 RVM?
업데이트
내가 해결된 문제의 일부(또는,어쩌면,모든 문제):는(사람들)의 관련 Phusion 여객기는 선적 이전한 경로에 관련된 루비전에 의해 관리되 RVM.
해결책
RVM installs everything into ~/.rvm. To remove RVM from your system run 'rm -rf ~/.rvm'.
.
이 를 참조하십시오.및 설치된 모든 것이 어디에 설치되어 있습니까?
다른 팁
첫번째 시험 echo $rvm_path
-는 경우에는 아무 것도 rm -rf
그
두 번째:
sudo rm -rf /ust/local/rvm /etc/rvmrc /etc/profile.d/rvm.sh ~/.rvm*
다음 확인 ls -l /usr/local/bin | grep rvm
이 표시됩니다 링크를 rvm- rm -rf
그
마지막 which rvm
-표시하는 경우 아무것도 확인하려고 이 경로와 제거에서도 이 파일입니다.
rvm help
:
implode - (seppuku) removes the rvm installation completely.
This means everything in $rvm_path (~/.rvm || /usr/local/rvm).
This does not touch your profiles. However, this means that you
must manually clean up your profiles and remove the lines which source RVM.
.
$PATH
에서 판단하면 다음 파일과 디렉토리를 모두 제거 할 수도 있습니다.
-
/usr/local/rvm
-
/etc/rvmrc
-
/etc/profile.d/rvm.sh
제휴하지 않습니다 StackOverflow