在整个开发过程中,我一直在研究cap deploy
我的应用程序,最后一次尝试部署它时,它没有用。这是发生的事情:
* executing `deploy:assets:precompile'
* executing "cd /var/www/oneteam/releases/20121006153136 && bundle exec rake RAILS_ENV=production RAILS_GROUPS=assets assets:precompile"
servers: ["electricsasquatch.com"]
[electricsasquatch.com] executing command
** [out :: electricsasquatch.com] rake aborted!
** [out :: electricsasquatch.com] uninitialized constant OneTeam::Application::FactoryGirl
** [out :: electricsasquatch.com]
** [out :: electricsasquatch.com] (See full trace by running task with --trace)
看起来它在deploy:assets:precompile
命令上失败了。不过,我不明白为什么该命令会尝试对 FactoryGirl 做任何事情。有任何想法吗?