Skip to content

Commit

Permalink
Don't add gem root to LOAD_PATH
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jhawthorn committed Aug 30, 2018
1 parent 387c775 commit fbd4d1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/gpgme.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fbd4d1b

Please sign in to comment.