我在Ubuntu上安装了CloudFoundry并尝试推送示例helloworld应用程序。我得到以下例外。任何人都可以面对同样的问题。请让我知道如何解决此问题。弹簧应用程序被正确推送,但是当我推动导轨或sinatra应用程序时会引发此异常。
root@CFDemo1:~/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)