Skip to content

Instantly share code, notes, and snippets.

@ChrisBr

ChrisBr/path.rb Secret

Created July 17, 2018 20:33
Gem.clear_paths
old = ENV['GEM_PATH']
ENV['GEM_PATH'] = File.expand_path('../../test/jruby/gem.jar', __FILE__)
puts require('mygem')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment