diff --git a/config/environment.rb b/config/environment.rb index 70d0c55a..fdac6b4f 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -54,6 +54,4 @@ Rails::Initializer.run do |config| # Define your email configuration in email.yml instead. # It will automatically turn deliveries on config.action_mailer.perform_deliveries = false - - config.gem 'ruby-openid', :lib => 'openid' end diff --git a/vendor/plugins/open_id_authentication/init.rb b/vendor/plugins/open_id_authentication/init.rb index 808c7bdb..5f94e8c6 100644 --- a/vendor/plugins/open_id_authentication/init.rb +++ b/vendor/plugins/open_id_authentication/init.rb @@ -1,11 +1,11 @@ if config.respond_to?(:gems) - config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.0.4' + config.gem 'ruby-openid', :lib => 'openid', :version => '>=2.1.4' else begin require 'openid' rescue LoadError begin - gem 'ruby-openid', '>=2.0.4' + gem 'ruby-openid', '>=2.1.4' rescue Gem::LoadError puts "Install the ruby-openid gem to enable OpenID support" end