mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
read around mkmf $ruby setup a bit more. Try this
Maybe solving this at the wrong level. Still not sure why it's picking up the system Ruby.
This commit is contained in:
parent
6cfebd5070
commit
0030bb26f7
1 changed files with 1 additions and 2 deletions
|
|
@ -42,8 +42,7 @@ class Gem::Ext::ExtConfBuilder < Gem::Ext::Builder
|
|||
require "shellwords"
|
||||
cmd = Gem.ruby.shellsplit << "-I" << File.expand_path("../../..", __FILE__) <<
|
||||
"-r" << get_relative_path(siteconf_path, extension_dir) << File.basename(extension)
|
||||
cmd << '--ruby'
|
||||
cmd << Gem.ruby
|
||||
cmd << "--ruby=#{Gem.ruby}"
|
||||
cmd.push(*args)
|
||||
|
||||
begin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue