Hi,
Still fighting with this one. I think the problem is actually the
open_id_authentication plugin, not the ruby-openid gem.
This is the init.rb of the pluging, which should be ok and up to rails
2.x changes.
if config.respond_to?(:gems)
config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.0.4'
else
begin
require 'openid'
rescue LoadError
begin
gem 'ruby-openid', '>=2.0.4'
rescue Gem::LoadError
puts "Install the ruby-openid gem to enable OpenID support"
end
end
end
config.to_prepare do
ActionController::Base.send :include, OpenIdAuthentication
end
----------
But still running rake gives:
[~/rails/try]# rake
(in /home/mydomain/rails/try)
Missing these required gems:
ruby-openid >= 2.0.4
You're running:
ruby 1.8.6.287 at /usr/bin/ruby
rubygems 1.3.1 at /home/mydomain/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8
Run `rake gems:install` to install the missing gems.
----------
Lots of googling lately but no real hints how to solve it.
As mentioned the funny thing is that I can use openid in the app with no
problems. The feature works.
Cheers.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---