Heroku seeking Factory Girl but not finding her.

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Hello - I'm a newbie that's gotten through Chapter 11 - and I have everything working error free - however, when I push to heroku I'm getting the following error (I've posted a .png too):

Missing these required gems:

You're running:
ruby at /usr/local/bin/ruby
rubygems 1.3.5 at /home/slugs/212442_a189779_e6ca/mnt/.bundle/gems, /home/slugs/212442_a189779_e6ca/mnt/.gems, /usr/ruby1.8.6/lib/ruby/gems/1.8, /usr/local/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.

I recall that we've avoided adding Factory Girl to the .gem file because pushing it to heroku deploys the production version?? and we don't want our Girl around for that. I'm stuck, and tentative to try google solutions that I don't yet know how to reverse if they don't work.

Thanks in advance everyone.
Photo of liamgmas


  • 2 Posts
  • 0 Reply Likes
  • frazzled.

Posted 7 years ago

  • 1
Photo of Rails Tutorial

Rails Tutorial, Official Rep

  • 1009 Posts
  • 112 Reply Likes
Make sure you're only including Factory Girl in the tests. Or you could try adding it to the .gems file; it won't do any harm.