2012-05-13 2 views
2

나는 bundler gem에 문제가있다.번들 명령을 찾을 수 없습니다. 나쁜 통역관

"보석 목록"을 실행하면 해당 번들러가 설치되어 있음을 알 수 있습니다. "bundler (1.1.3, 1.0.21)". 내가 명령 "번들"나는 다음과 같은 메시지가 얻을 실행하려고 할 때

:

sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpreter: No such file or directory 

나는이에 상관없이 내가 구글 얼마나 어떤 경로 오류가 없지만, 가정을, 나는 수 없습니다입니다 내 문제에 대한 해결책을 찾는다.

누구나 유용한 정보가 있으십니까? 여기

내 경로입니다 :

당신이보고있는 오류는 스크립트 내부의 로직은 C에서 다른 항목을 찾고 있음을 나타냅니다
C:\Program Files (x86)\AMD APP\bin\x86_64; 
C:\Program Files (x86)\AMD APP\bin\x86; 
C:\Program Files\Common Files\Microsoft Shared\Windows Live; 
C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live; 
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common; 
%SystemRoot%\system32; 
%SystemRoot%;  
%SystemRoot%\System32\Wbem; 
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; 
C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; 
C:\Windows\system32\gs\gs8.71\bin; 
C:\Program Files (x86)\Windows Live\Shared; 
C:\DevKit\bin; 
C:\Program Files (x86)\Common Files\Autodesk Shared\; 
C:\Program Files\Common Files\Autodesk Shared\; 
C:\Program Files\TortoiseSVN\bin; 
C:\Program Files (x86)\Autodesk\Backburner\; 
F:\Program Files (x86)\Mozart\bin; 
C:\Program Files (x86)\ruby-1.9.3\lib\ruby\gems\1.9.1\gems\rails-3.0.9\bin; 
C:\Ruby192\lib\ruby\gems\1.9.1\gems\rake-0.9.2\bin; 
W:\wamp\bin\mysql\mysql5.5.16\lib; 
F:\Program Files\MATLAB\R2011b\bin; 
F:\Program Files (x86)\Heroku\bin; 
C:\Program Files (x86)\ruby-1.9.3\bin; 
C:\Program Files (x86)\git\bin; 
C:\Program Files (x86)\git\cmd 

답변

5

: 어떤 이유로, 들어 ... \ 프로그램 파일과 어떤 찾고있는 것이 따옴표로 묶이지 않았습니다.

따라서 공백으로 구분 된 경로의 각 부분은 별도의 인수라고 생각합니다. 당신이 인수

C:\Program 

를 호출로 해석됩니다

C:\Program Files (x86)\ruby-1.9.3\bin\ruby 

"파일"과 "(86) : 내 생각 엔 그렇게 적절한 PATH 변수에서 '루비'를 실행하려고한다는 것입니다 \ ruby-1.9.3 \ bin \ ruby ​​"를 입력하십시오. 왜 그것이 작동하지 않는지 볼 수 있습니다 ;-)

당신의 환경에 대해 잘 모릅니다. 그러나이 문제를 해결하는 방법을 알려주지는 못하지만 수동으로 PATH에 추가하는 경우에는 각각을 둘러 쌉니다. 따옴표로,이 경우 :

C:\Program Files (x86)\ruby-1.9.3\bin; 

이 될 것입니다 :

"C:\Program Files (x86)\ruby-1.9.3\bin"; 
+0

감사합니다! 이게 내 문제를 해결했습니다! :) 그건 그렇고, 나는 7 x64 창문을 실행 중입니다. – Automatico

관련 문제