1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Automatically setup bundler of bindgen.rb

to easily use it with `tool/mjit/bindgen.rb BUILDDIR` instead of using
`make mjit-bindgen`.
This commit is contained in:
Takashi Kokubun 2022-09-18 23:25:20 +09:00
parent 4e0db2f753
commit 591c3c7a1a
Notes: git 2022-09-23 06:45:08 +09:00

View file

@ -1,5 +1,9 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('./Gemfile', __dir__)
require 'bundler/setup'
require 'etc'
require 'fiddle/import'
require 'set'