summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/plugins/gravatar/init.rb2
-rw-r--r--lib/plugins/open_id_authentication/init.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/gravatar/init.rb b/lib/plugins/gravatar/init.rb
index 5bf49923d..aafad7613 100644
--- a/lib/plugins/gravatar/init.rb
+++ b/lib/plugins/gravatar/init.rb
@@ -1,4 +1,4 @@
# frozen_string_literal: true
-require 'gravatar'
+require File.dirname(__FILE__) + '/lib/gravatar'
ActionView::Base.send :include, GravatarHelper::PublicMethods
diff --git a/lib/plugins/open_id_authentication/init.rb b/lib/plugins/open_id_authentication/init.rb
index ec96a5a7f..f3314807f 100644
--- a/lib/plugins/open_id_authentication/init.rb
+++ b/lib/plugins/open_id_authentication/init.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: false
-require 'open_id_authentication'
+require File.dirname(__FILE__) + '/lib/open_id_authentication'
config.middleware.use OpenIdAuthentication