Note that there are some explanatory texts on larger screens.

plurals
  1. PORails 3 omniauth-viadeo strategy gem causing Passenger LoadError
    text
    copied!<p>I'm using Rails 3.2.2 and trying to set up the <a href="https://github.com/Pasta/omniauth-viadeo" rel="nofollow">viadeo strategy</a> 0.0.5 for <a href="https://github.com/intridea/omniauth" rel="nofollow">omniauth</a> 1.0-3.</p> <p><strong>It actualy works fine in my developpment laptop with mongrel</strong> (I'm able to authenticate myself with a viadeo account).</p> <p>But, when I try to deploy my app in my production server using Apache/Passenger, I'm getting this Passenger error :</p> <pre><code>Could not find matching strategy for :viadeo. You may need to install an additional gem (such as omniauth-viadeo). </code></pre> <p>The fact is that i have correctly installed this gem using <code>gem install omniauth-viadeo</code>, then <code>bundle install</code>, and added the appropriate provider and keys in <code>initializers/omniauth.rb</code>.</p> <p><strong>I'm already using facebook, twitter, linkedin, google and openid strategies which work fine</strong> (either with mongrel or passenger).</p> <p>Here is a part of my <code>Gemfile</code> related to omniauth : </p> <pre><code>gem 'omniauth' gem 'omniauth-oauth' gem 'omniauth-oauth2' gem 'omniauth-twitter' gem 'omniauth-facebook' gem 'omniauth-linkedin' gem 'omniauth-openid' gem 'omniauth-google-oauth2' gem 'omniauth-viadeo' </code></pre> <p>I've also tried to use the git repository like that <code>gem 'omniauth-viadeo', :git =&gt; 'https://github.com/pasta/omniauth-viadeo.git'</code> but this error appear when I run <code>bundle install</code> : </p> <pre><code>Git error: command `git clone 'https://github.com/pasta/omniauth-viadeo.git' "/home/myhome/.bundler/cache/git/omniauth-viadeo-a2d4364eb9f96f490d4d86c7a77260672f5c896f" --bare --no-hardlinks` in directory /home/myhome/dev/ruby/myapp has failed. </code></pre> <p>I'm wondering if I missed something or if there is an issue with this gem.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload