2013-05-30 5 views
0

로컬 컴퓨터에 ruby-2.0.0-p0이 있습니다. 레일 애플리케이션을 배포 할 때 많은 오류가 발생하여이를 수정하고 실행 중이었습니다. 그러나 다시 1 일 후, 나는 같은 응용 프로그램을 실행하려고, 난 내 .rvmrc 파일에 rvm use [email protected] 코드를 삽입 한이 메시지Capistrano .rvmrc 파일로 오류 배포

You are using '.rvmrc', it requires trusting, it is slower and it is not compatible with other ruby managers, 
you can switch to '.ruby-version' using 'rvm rvmrc to [.]ruby-version' 
or ignore this warnings with 'rvm rvmrc warning ignore /home/Desktop/PV-NEC/pv-nec/.rvmrc', 
'.rvmrc' will continue to be the default project file in RVM 1 and RVM 2, 
to ignore the warning for all files run 'rvm rvmrc warning ignore all.rvmrcs'. 

ruby-2.0.0-p195 is not installed. 
To install do: 'rvm install ruby-2.0.0-p195' 

을 얻었다. 그것을 변경하거나 다른 것을해야합니까?

+0

안녕하세요, 내 로컬 컴퓨터에서 .rmvrc 파일을 변경합니다. rvm use ruby-2.0.0-p0 서버의 .rmvrc가 아닙니다. 나는 같은 ruby-2.0.0-p195를 서버의 .rmvrc 파일에 넣었다. –

답변

0

첫번째 명령 에러 표시로 루비를 설치하는 .rvmrc에서 전환

rvm install ruby-2.0.0-p195 

및 명령

rvm gemset create gemset_name 

을 적절한 gemset를 생성하고이를 입력 .ruby 버전 + .ruby-gemset

rvm rvmrc to .ruby-version 
관련 문제