2011-08-05 5 views
2

J'ai installé CloudFoundry sur Ubuntu et essayé de pousser un exemple d'application helloworld. Je reçois l'exception ci-dessous. Quelqu'un peut-il faire face au même problème. S'il vous plaît laissez-moi savoir comment résoudre ce problème. Les applications ressorts sont poussées correctement mais cette exception est levée lorsque je pousse des rails ou des applications sinatra.Erreur VMC Push sur Cloudfoundry

[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

dans la dernière source de Cloud Foundry j'eu le même problème et abandonné. Je pense que cela pourrait être lié à des gemmes, par ex. vous devez inclure thin dans votre gemfile – jamesc

+1

Pouvez-vous inclure votre Gemfile? – Martin

Répondre

Questions connexes