Go to gem file:
change
gem 'omniauth-facebook'
to
gem 'omniauth-facebook', '~> 4.0.0'
in terminal - bundle for updating omniauth-facebook ('bundle update' can broke your application, because it's updated all your gems).
bundle
Push changes to the production server.
- Gemfile
- 2.Gemfile.lock
RESTART PRODUCTION SERVER
In my case:
I'm updated from 2.0.1 to 4.0.0
All works fine, but you have restart production server (stop and start unicorn or something).
Top comments (0)