I know that FactoryGirl has been deprecated in favor of FactoryBot, but we haven't yet updated our code, so we are still using FactoryGirl. Regardless, requiring FactoryGirl in the Rails Console should work, but it isnt'.
The gem is included properly in my Gemfile
group :test, :development do
...
gem 'factory_girl_rails', '~> 4.9.0'
...
end
And it appears when I run bundle
$ bundle | grep factory
Using factory_girl 4.9.0
Using factory_girl_rails 4.9.0
But when I require it in the console, it fails.
[1] pry(main)> require 'factory_girl_rails'
=> false
[3] pry(main)> require 'factory_girl'
=> false
This doesn't seem to happen with any of the other gems in my Gemfile. Can anyone help me fix this?