无法在Cloudfoundry中部署ruby应用程序



我已经准备好了应用程序但当我部署时,我会遇到一个错误heroku和云铸造中面临错误的部署

使用的宝石有:event_calenderauthlogic

错误在:云铸造

wafuser@wafuser-VirtualBox:~/Documents/backups/backupnew/ecommerce$ vmc push
Would you like to deploy from the current directory? [Yn]: y
Application Name: shiva108
Detected a Rails Application, is this correct? [Yn]: y
Application Deployed URL [shiva108.cloudfoundry.com]: 
Memory reservation (128M, 256M, 512M, 1G, 2G) [256M]: 
How many instances? [1]: 1
Create services to bind to 'shiva108'? [yN]: y
1: mongodb
2: mysql
3: postgresql
4: rabbitmq
5: redis
What kind of service?: 2
Specify the name of the service [mysql-ceaf3]: 
Create another? [yN]: n
Would you like to save this configuration? [yN]: n
Creating Application: OK
Creating Service [mysql-ceaf3]: OK
Binding Service [mysql-ceaf3]: OK
Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (192K): OK   
Push Status: OK
Staging Application 'shiva108': OK                                              
Starting Application 'shiva108': .
Error: Application [shiva108] failed to start, logs information below.
====> /logs/migration.log <====

有人能为我的问题提出解决方案吗?

尝试使用以下命令:

vmc logs <app-name>

这将为您提供所需的日志。

尝试使用此命令:

Heroku:

$ heroku logs

Cloud Foundry:

$ vmc files shiva108 logs/stderr.log

最新更新