8
작동하지 재탕 rbenv내가 새로운 보석 를 설치 한 후 rbenv 재탕하려고 내 우분투 서버에서 나에게 이러한 오류를 제공
rbenv: cannot rehash: /home/deployer/.rbenv/shims/.rbenv-shim exists
그러나 .rbenv - 심하지
작동하지 재탕 rbenv내가 새로운 보석 를 설치 한 후 rbenv 재탕하려고 내 우분투 서버에서 나에게 이러한 오류를 제공
rbenv: cannot rehash: /home/deployer/.rbenv/shims/.rbenv-shim exists
그러나 .rbenv - 심하지
이 될 수있는 않습니다 디렉토리 권한에 문제가 : https://github.com/sstephenson/rbenv/issues/238#issuecomment-11903292
FWIW - I also had this problem, and had to change permissions on the dir where it was checking for the .rbenv-shim... so it could write to the dir, so it stopped complaining.
또한
, 시도 :
,rm /home/deployer/.rbenv/shims/.rbenv-shim
실행 : 그 디렉토리에 대한 사용 권한을 변경하는 방법을
rbenv rehash
을 .. 난이 시도 –
우분투 사람이 아니다 : /home/deployer/.rbenv/ w 'chmod를 오의 + shims' 또는 : 'chmod 777/home/deployer/.rbenv/shims' – rebelshrug
같은 오류가 나타납니다 –