Cloudfoundry 上的 VMC 推送错误
我已经在 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)
I have installed CloudFoundry on Ubuntu and tried to push a sample helloworld application. I am getting the below exception. Can anyone faced the same issue. Please let me know how to resolve this problem. Springs applications are pushed correctly but this exception is raised when I push rails or sinatra applications.
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此问题已在 http://github.com/cloudfoundry 的最新 Cloud Foundry 源代码中得到解决
This issue is resolved in the latest Cloud Foundry source at http://github.com/cloudfoundry