2016-10-23 10 views
0

웹 스크 레이 핑 스크립트를 사용하고 있지만 현재 보석 버전이 설치 패키지를 제공하지 않습니다.Windows 10에서 Linux 하위 시스템에 RVM을 설치하는 방법

인프라 스트럭처가 변경된 이유는 알고 있지만 이제는 Windows 10에서 기념일 업데이트를 설치하고 Linux 하위 시스템을 설치했습니다.

올바르게 작동하는 NodeJS + npm이 이미 설치되었지만 문제는 해당 서브 시스템에 Ruby를 설치하는 것입니다. 나는이 문제를 어떻게 해결합니까

[email protected]:~$ sudo apt-get install rvm 
sudo: unable to resolve host DESKTOP-TK9ELEL 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 

rvm : Depends: libreadline6-dev but it is not installable 
     Depends: autoconf but it is not installable 
     Depends: libgdbm-dev but it is not installable 
     Depends: libncurses5-dev but it is not installable 
     Depends: automake but it is not installable 
     Depends: libtool but it is not installable 
     Depends: bison but it is not installable 
     Depends: pkg-config but it is not installable 
E: Unable to correct problems, you have held broken packages. 

: 나는 그것이 나에게 오류를주고 RVM을 설치하려고

?

답변

1

사이트의 install directions for RVM을 팔로우하십시오. RVM을 저자보다 잘 아는 사람은 없습니다.

\curl -sSL https://get.rvm.io | bash -s stable --ruby 

이렇게하면 RVM과 Ruby의 안정 버전이 설치됩니다. 그 사용에 따라

:

rvm use [whichever Ruby was installed] --default 

그 루비에 기본으로 RVM을 알 수 있습니다.

RVM은 지시를 사용하는 경우 * nix 배포본의 전제 조건을 설치할 수 있습니다. RVM을 설치 한 후에는 sudo 또는 yum을 사용하지 않아도 RVM 관리 형 Ruby를 설치할 수 있습니다. 즉 이 아니며 sudo rvm install ruby... 또는 sudo gem install some_gem이 아닙니다. 당신이하는 경우에 당신은 당신의 체계를 단지 틀린 일을하도록 강요 할 것이다.

+0

예전에 시도했지만 오류가 발생했습니다 >>> GPG 서명 확인에 실패했습니다 '/home/ins/.rvm/archives/rvm-1.27.0.tgz'- 'https://github.com/rvm /rvm/releases/download/1.27.0/1.27.0.tar.gz.asc '! – insCode

+0

설치 지침의 첫 번째 단계를 수행 했습니까? 그렇다면 이에 대한 지원 질문을 검색 했습니까? –