Ruby on rails Cloudfoundry上的VMC推送错误

Ruby on rails Cloudfoundry上的VMC推送错误,ruby-on-rails,cloud-foundry,Ruby On Rails,Cloud Foundry,我已经在Ubuntu上安装了CloudFoundry,并尝试推出一个示例helloworld应用程序。我得到以下例外。任何人都可能面临同样的问题。请告诉我如何解决这个问题。Springs应用程序被正确推送,但当我推送rails或sinatra应用程序时会引发此异常 root@CFDemo1:~/helloworld# vmc push myapp03 Would you like to deploy from the current directory? [Yn]: Application De

我已经在Ubuntu上安装了CloudFoundry,并尝试推出一个示例helloworld应用程序。我得到以下例外。任何人都可能面临同样的问题。请告诉我如何解决这个问题。Springs应用程序被正确推送,但当我推送rails或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)
root@CFDemo1:~/helloworld#vmc推送myapp03
是否要从当前目录部署?[Yn]:
应用程序部署的URL:'myapp03.vcap.me'?
检测到Sinatra应用程序,是否正确?[Yn]:
内存保留[默认值:128M](64M、128M、256M、512M、1G或2G)
创建应用程序:确定
是否要将任何服务绑定到“myapp03”?[yN]:
上载应用程序:
检查可用资源:确定
处理资源:好的
包装申请:可以
上传(0K):OK
推送状态:OK
暂存应用程序:确定
正在启动应用程序:。
错误:应用程序[myapp03]无法启动,请在下面记录信息。

==>/logs/staging.log logs/stderr.log这个问题在最新的Cloud Foundry源代码中得到了解决,我也遇到了同样的问题,于是放弃了。我认为这可能与gems有关,例如,您必须在Gemfile中包含thin,您可以包含Gemfile吗?