Webistrano에서 배치 작업을 실행하는 데 문제가 있습니다. Phusion Passenger로 Nginx에서 Webistrano를 실행할 때만 나타납니다.Webistrano - Phusion Passenger - 갈퀴를 찾을 수 없습니다.
다음 명령으로 Webistano를 실행하면 모든 것이 정상적으로 실행됩니다.
루비 스크립트/서버 -d -p 3000 -e 생산
그러나 Phusion 여객의에서 그것을 실행할 때 (컴파일 "여객-의 nginx-모듈을 설치") 내가하고 싶은
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/spec_set.rb:90:in `materialize': Could not find rake-0.9.2.2 in any of the sources (Bundler::GemNotFound)
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `map!'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `materialize'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/definition.rb:127:in `specs'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/definition.rb:172:in `specs_for'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/definition.rb:161:in `requested_specs'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/environment.rb:23:in `requested_specs'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/runtime.rb:11:in `setup'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler.rb:107:in `setup'
from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.1.5/lib/bundler/setup.rb:17
내 번들 gemlist :
Gems included by the bundle:
* actionmailer (2.3.11)
* actionpack (2.3.11)
* activerecord (2.3.11)
* activeresource (2.3.11)
* activesupport (2.3.11)
* bundler (1.1.5)
* capistrano (2.6.0)
* erubis (2.7.0)
* exception_notification (2.3.3.0)
* highline (1.6.13)
* mocha (0.9.8)
* mysql (2.8.1)
* net-scp (1.0.4)
* net-sftp (2.0.5)
* net-ssh (2.5.2)
* net-ssh-gateway (1.1.0)
* open4 (0.9.3)
* rack (1.1.3)
* rails (2.3.11)
* rake (0.9.2.2)
* syntax (1.0.0)
배포] 내 로그에 다음과 같은 오류가 (응용 프로그램 실행) 617,451,515,
이 내 nginx.conf에 있습니다
passenger_root /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.15;
passenger_ruby /usr/local/bin/ruby;
그리고 내 특정 서버 설정 :
passenger_enabled on;
rails_env production;
그것은에 WEBrick 이것을 실행하면 그냥 정상적으로 작동 이상하지만 nginx를 통해 승객은 아니다 . 저는 Ruby에별로 관심이 없습니다. 그리고 어디에서부터 시작해야하는지 정말 모르겠습니다.
소스에서 rvm을 설치합니다.
미리 감사드립니다.
편집 :
오류이 줄에서 온다 :
루비 스크립트/러너 -e 생산 '배포 = Deployment.find (1085); Webistrano :: Deployer.new (배포) .invoke_task! '
nginx/passenger를 통해 응용 프로그램 내에서 실행될 때 명령 줄에서 실행될 때 aspected로 작동하지만 실행되지 않습니다.