Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion truffle/src/main/ruby/core/shims.rb
Original file line number Diff line number Diff line change
@@ -225,5 +225,7 @@ def to_s

# Hack to let code run that try to invoke RubyGems directly. We don't yet support RubyGems, but in most cases where
# this call would be made, we've already set up the $LOAD_PATH so the call would no-op anyway.
def gem(*args)
module Kernel
def gem(*args)
end
end

0 comments on commit 8ffb1a0

Please sign in to comment.