Cap deploy doesn't work all the sudden; something to do with FactoryGirl and assets

Posted by Jason Swett on Stack Overflow See other posts from Stack Overflow or by Jason Swett
Published on 2012-10-06T15:36:17Z Indexed on 2012/10/06 15:36 UTC
Read the original article Hit count: 334

I've been cap deploying my app all throughout it development, and this last time I tried to deploy it, it didn't work. Here's what happened:

  * 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)

It looks like it failed on the deploy:assets:precompile command. I don't get why that command would have tried to do anything with FactoryGirl, though. Any ideas?

© Stack Overflow or respective owner

Related posts about ruby-on-rails-3

Related posts about capistrano