2

我已经在 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)
4

1 回答 1

1

此问题已在http://github.com/cloudfoundry的最新 Cloud Foundry 源中得到解决

于 2012-06-18T21:25:10.257 回答