From fb4c588bda823f20d97988d6ca3296a3070c5a2e Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Thu, 30 Aug 2018 11:13:27 -0700 Subject: [PATCH] Don't add gem root to LOAD_PATH The comment, "C extension is in the root", is no longer accurate. It's in ext/ which will be added to the LOAD_PATH by bundler or rubygems. --- lib/gpgme.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/gpgme.rb b/lib/gpgme.rb index 77f8c25..ad52cc3 100644 --- a/lib/gpgme.rb +++ b/lib/gpgme.rb @@ -1,5 +1,3 @@ -$:.push File.expand_path("../..", __FILE__) # C extension is in the root - require 'gpgme_n' # TODO without this call one can't GPGME::Ctx.new, find out why