Skip to content

Commit

Permalink
Pushed load path patch
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBakerEffendi committed Oct 29, 2024
1 parent cd96fc2 commit 1f924e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion exe/ruby_ast_gen
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env ruby

require "bundler/setup"
# require "bundler/setup"
# We do the below instead of the above, as the above can be flaky
libs = File.expand_path("../../vendor/bundle/ruby/*/gems/**/lib", __FILE__)
$LOAD_PATH.unshift *Dir.glob(libs)

require "slop"

require_relative "../lib/ruby_ast_gen"
Expand Down

0 comments on commit 1f924e1

Please sign in to comment.