2011-08-05 2 views
2

우분투에 CloudFoundry를 설치하고 샘플 helloworld 응용 프로그램을 푸시하려고했습니다. 나는 아래 예외를 얻고있다. 누구나 같은 문제에 직면 할 수 있습니까? 이 문제를 해결하는 방법을 알려주십시오. 스프링 응용 프로그램은 올바르게 푸시되지만 레일이나 sinatra 응용 프로그램을 누르면이 예외가 발생합니다.Cloudfoundry에서 VMC 푸시 오류

[email protected]:~/helloworld# vmc push myapp03 
Would you like to deploy from the current directory? [Yn]: 
Application Deployed URL: 'myapp03.vcap.me'? 
Detected a Sinatra Application, is this correct? [Yn]: 
Memory Reservation [Default:128M] (64M, 128M, 256M, 512M, 1G or 2G) 
Creating Application: OK 
Would you like to bind any services to 'myapp03'? [yN]: 
Uploading Application: 
    Checking for available resources: OK 
    Processing resources: OK 
    Packing application: OK 
    Uploading (0K): OK 
Push Status: OK 
Staging Application: OK 
Starting Application: . 
Error: Application [myapp03] failed to start, logs information below. 

====> /logs/staging.log <==== 

Logfile created on 2011-08-02 16:56:28 +0530 by logger.rb/25413 
Adding rack-1.3.1.gem to app... 
Adding sinatra-1.2.6.gem to app... 
Adding tilt-1.3.2.gem to app... 
Adding bundler-1.0.10.gem to app... 

====> logs/stderr.log <==== 

/usr/local/rvm/rubies/ruby-1.8.7-p352/bin/ruby: 
    No such file or directory -- ./rubygems/ruby/1.8/bin/bundle (LoadError) 
+0

에서 최신 클라우드 파운드리 소스에서 해결되었습니다. 보석과 관련된 것일 수도 있습니다. 당신은 gemfile에 thin을 포함시켜야합니다. – jamesc

+1

Gemfile을 포함 할 수 있습니까? – Martin

답변