2012-02-19 2 views
0

나는 "모자 배포"를 카피 스트라 노를 사용하여 서버에 내 레일 응용 프로그램을 배포하고 실행 한 후 다음과 같은 오류와 끝까지 노력하고 있어요는 :cap 배포 중에 ffi가 원격 서버에 설치되지 않는 이유는 무엇입니까?

** [out :: ny.railshoster.de] /opt/ruby-e/bin/ruby extconf.rb 
** [out :: ny.railshoster.de] checking for ffi.h... no 
** [out :: ny.railshoster.de] checking for ffi.h in /usr/local/include... no 
** [out :: ny.railshoster.de] checking for rb_thread_blocking_region()... yes 
** [out :: ny.railshoster.de] checking for ruby_native_thread_p()... yes 
** [out :: ny.railshoster.de] checking for rb_thread_call_with_gvl()... yes 
** [out :: ny.railshoster.de] creating extconf.h 
** [out :: ny.railshoster.de] creating Makefile 
** [out :: ny.railshoster.de] 
** [out :: ny.railshoster.de] make 
** [out :: ny.railshoster.de] Configuring libffi 
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 2367: sleep: command not found 
** [out :: ny.railshoster.de] /etc/magic, 0: Warning: using regular magic file `/usr/share/misc/magic' 
** [out :: ny.railshoster.de] file: could not find any magic files! 
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 7852: diff: command not found 
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 9721: awk: command not found 
** [out :: ny.railshoster.de] /home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi/configure: line 9781: awk: command not found 
** [out :: ny.railshoster.de] ./config.status: line 1274: awk: command not found 
** [out :: ny.railshoster.de] config.status: error: could not create include/Makefile 
** [out :: ny.railshoster.de] make: *** ["/home/{my_account}/rails1/shared/bundle/ruby/1.9.1/gems/ffi-1.0.11/ext/ffi_c/libffi"/.libs/libffi_convenience.a] Error 1 

나는 명령 줄 출력의 발췌 자명 희망,하지만 난 필요한 경우 추가 정보를 제공 할 수 있습니다. 미리 도움을 청하십시오.

답변

0

awk 및 diff 도구를 원격 서버에 설치해야합니다. 아마도 rmote 서버에 잘못된 $ PATH가 있습니다.

+0

예, 경로가 올바르게 설정되지 않은 것 같습니다. 일반적인 도구를 찾을 수없는 것 같습니다. 나는 rvm을 사용하여 PATH를 다음과 같이 설정했다. 'PATH'=> "..rvm_stuff .. : $ PATH" 내가 뭘 하려는지는 비슷한 PNG를 포함하는 것이다. . –

관련 문제