Project

General

Profile

Openid option unavailable, even though ruby-openid-2.2.0 is in place

Added by Rich Schaaf about 12 years ago

I'm trying to "Allow OpenID login and registration" for my newly installed Redmine deployment, but the checkbox under Administration -> Settings -> Authentication is disabled.

Software versions are:
  • OS: Ubuntu Server 12.04
  • Redmine: 1.4.3.stable installed using Ondřej Surý's PPA
  • Database: PostgreSQL 9.1.5

Ruby environment:

$ sudo -u www-data RAILS_ENV=production script/about
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
About your application's environment
Ruby version              1.8.7 (x86_64-linux)
RubyGems version          1.8.15
Rack version              1.4
Rails version             2.3.14
Active Record version     2.3.14
Active Resource version   2.3.14
Action Mailer version     2.3.14
Active Support version    2.3.14
Edge Rails revision       unknown
Application root          /usr/share/redmine
Environment               production
Database adapter          postgresql
Database schema version   20120301153455

I installed ruby-openid by entering:

$ sudo gem install ruby-openid
Fetching: ruby-openid-2.2.0.gem (100%)
Successfully installed ruby-openid-2.2.0
1 gem installed
Installing ri documentation for ruby-openid-2.2.0...
Installing RDoc documentation for ruby-openid-2.2.0...

The installed gems, visible to the apache user are:

$ sudo -u www-data gem list

*** LOCAL GEMS ***

ruby-openid (2.2.0)

Following the advice I'd seen in other discussions related to problems enabling OpenID, I ran the following as the apache user:

$ sudo -u www-data script/console production
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
Loading production environment (Rails 2.3.14)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/share/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
>> Object.const_defined?(:OpenID)
=> false

I rebooted the server after installing the ruby-openid gem to make sure all the pieces got restarted.

Thanks in advance for any assistance.

Rich


Replies (1)

RE: Openid option unavailable, even though ruby-openid-2.2.0 is in place - Added by Rich Schaaf almost 12 years ago

Any suggestions for what to try next to troubleshoot my OpenID problem?

Does anyone have OpenID 2.2.0 (or some other version) working with Redmine 1.4.3?

Thanks,
Rich

    (1-1/1)