Skip to content

Commit 9b13853

Browse files
Bryan Powell64kramsystem
authored andcommitted
Explicitly set the gem path in the local toolchain env
1 parent fcc5aa0 commit 9b13853

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/compiler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,7 @@ def compile_pass2_env
787787
def local_toolchain_env
788788
{
789789
'CI' => 'true',
790+
'GEM_PATH' => File.join(@ruby_install, 'lib', 'ruby', 'gems', self.class.ruby_api_version),
790791
'PATH' => "#{File.join(@ruby_install, 'bin')}:#{ENV['PATH']}",
791792
'ENCLOSE_IO_USE_ORIGINAL_RUBY' => 'true',
792793
'ENCLOSE_IO_RUBYC_1ST_PASS' => 'true',

0 commit comments

Comments
 (0)