Hi Hervé,

Same thing as Dirk: open_id_authentication requires ruby-openid for
you, so you don't have to do in your environment. But it's set to load
the gem version >=2.0.4, what was not working since you have 2.1.2 in
your vendor and Rails don't know how to load newer gems in vendor
(that's fixed in 2.2).

So changing the config.gem line in the plugin init.rb to use 2.1.2
fixed the problem.

On Fri, Nov 14, 2008 at 3:20 PM, Hervé <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> In my case I still get the following messages, even after doing the
> same modification in config/environment.rb:
>
> 1/ When I deploy the app =>
>
> These gems that this application depends on are missing:
>  - ruby-openid
> Run "rake gems:install" to install them.
>
>
> 2/ When I use, for instance, "using_open_id?" method in my controller
> =>
>
> undefined method `using_open_id?' for #<SessionController:0xb6f775f4>
>
> I really don't know what to do.
>
> The app name is spicedin.
>
> --
> Hervé
>
> On 19 sep, 02:38, Peter Marreck <[EMAIL PROTECTED]> wrote:
>> Just wanted to add that some gems need some special config.
>>
>> The following, for example, is how to get theruby-openidgem working
>> (at least in my case):
>> in config/environment.rb ...
>> config.gem "ruby-openid", :lib => "openid", :version => '2.1.2'
>>
>> -Peter
>>
>> On Sep 11, 2:29 am, DavidPaquet <[EMAIL PROTECTED]> wrote:
>>
>> > Ok, I reinstalled the gem via the console. (had to gem build the
>> > twitter one)
>>
>> > Then, I had to rename it to add the version number and after that it
>> > worked.
>>
>> > On Sep 11, 12:11 am, DavidPaquet <[EMAIL PROTECTED]> wrote:
>>
>> > > Hi everyone !
>>
>> > > Trying to upload a new app that is almost ready for production.  This
>> > > app make us of a gem found on github.  I added this to my
>> > > environnement.rb :
>>
>> > > config.gem "dancroak-twitter-search",:lib => 'twitter_search', :source
>> > > => "http://gems.github.com";
>>
>> > > I also dit gem:unpack so I have the gem in my vendors directory.
>> > > Everything work fine on my computer but on heroku I get a no such file
>> > > to load -- twitter_search everytime I try to run a rake job including
>> > > db:migrate.
>>
>> > > Any idea why ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to