Re: OmniAuth and Rails 3.1

Martin Wawrusch
Fri, 23 Sep 2011 10:04:47 -0000

I remember having had some trouble as well.

Make sure that you use the following in your gem files:

devise: ~=1.4.2
ominauth: =0.2.5 (not 0.2.6 for some reason because that has a dependency
conflict with another lib)

In your production.rb do something like this at the top:

require ''pg''
require ''net/http''
require ''openssl''
OpenSSL::SSL:VERIFY_PEER = OpenSSL::SLL:VERIFY_NONE

This is a bit of a hack but was the only way for me to get this to work in
my configuration (after spending half a day investigating)

On Fri, Sep 23, 2011 at 2:51 AM, Leonardo Mateo
<leonardomateo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> On Thu, Sep 22, 2011 at 8:57 PM, Everaldo Gomes
> <everaldo.gomes-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > Hi!
> > Take a look in the omni populus gem:
> > https://github.com/icelab/omnipopulus
> Hey!
> I''ve just tried it and had the same result.
> I wonder if twitter might have changed something on their side for
> authenticating apps or if is omniauth on it''s transition to 1.0.
>
>
>
> --
> Leonardo Mateo.
> There''s no place like ~
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-