执行迁移脚本时Engine Yard部署失败

时间:2011-09-28 16:03:19

标签: ruby-on-rails engineyard

我正在尝试使用engine yard gem在基于rails 2的应用程序上部署ruby并获得以下错误:

ey deploy --migrate=rake db:migrate
Beginning deploy for 'test' in 'test' on server...
~> Deploying revision 11111 Test commit.
~> Pushing code to all servers
~> Starting full deploy
~> Copying to /data/test/releases/20110928152454
~> Ensuring proper ownership
~> Preparing shared resources for release
~> Set group write permissions
~> Remove revision-tracked shared directories from deployment
~> Create tmp directory
~> Symlink shared log directory
~> Create public directory if needed
~> Create config directory if needed
~> Create system directory if needed
~> Symlink shared pids directory
~> Symlink other shared config files
~> Symlink mongrel_cluster.yml
~> Symlink database.yml
~> Symlink newrelic.yml if needed
~> Setting ownership to deploy:deploy
~> Migrating: cd /data/test/releases/20110928152454 && PATH=/data/test/releases/20110928152454/ey_bundler_binstubs:$PATH RAILS_ENV=production RACK_ENV=production NODE_ENV=production MERB_ENV=production rake
Run "rake db:migrate" to update your database then try again.
~> [Attention] Maintenance page still up, consider the following before removing:
* any deploy hooks ran, be careful if they were destructive
* any migrations ran, be careful if they were destructive
* your old code is still symlinked as current
Failed deployment recorded in AppCloud
Deploy failed

以前有人遇到过同样的问题吗?

0 个答案:

没有答案