Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Omniauth in Rails 3.1.rc4

I'm using the latest release of rails, starting a new app that I will be deploying in 3.1 once its out, and I cannot get omniauth to work. If I just add omniauth to my Gemfile, it bundles up, but when I then run rake, or rails s, or pretty much any command, it errors out:

no such file to load -- omniauth/password

Any ideas why? Is there a branch or fork that works on Rails 3.1? Or is this just me that's having this issue?

like image 827
jasonpgignac Avatar asked Jun 13 '11 01:06

jasonpgignac


1 Answers

The actual issue is that bundler chooses an old version of omniauth. To help bundler choose the right version, use:

gem 'omniauth', '>= 0.2.6'

like image 136
Michael Reinsch Avatar answered Oct 14 '22 23:10

Michael Reinsch