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 authored and ueno committed Nov 28, 2023
1 parent 2cc29d8 commit fb4c588
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 fb4c588

Please sign in to comment.