mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() When testing under the ruby/ruby setup, mkmf.rb needs to the `$extout`
global variable set properly.
This is because, in this particular case, the `ruby.h` header needed to
compile extensions is constructed from
`$(extout)/include($arch)/ruby/config.h` but `$extout` is not set by
default.
I tried to fix this in mkmf.rb itself but I couldn't figure it. But
setting it externally to workaround the issue fixes the specs, so I'll
start with that. Also setting it externally causes issues when running
specs upstream against Ruby 2.3 (I guess because of some difference with
Ruby 2.3 mkmf.rb implementation). So I'm avoiding doing it on Ruby 2.3 to
woraround that.
|
||
---|---|---|
.. | ||
add_spec.rb | ||
binstubs_spec.rb | ||
cache_spec.rb | ||
check_spec.rb | ||
clean_spec.rb | ||
config_spec.rb | ||
console_spec.rb | ||
doctor_spec.rb | ||
exec_spec.rb | ||
fund_spec.rb | ||
help_spec.rb | ||
info_spec.rb | ||
init_spec.rb | ||
inject_spec.rb | ||
install_spec.rb | ||
issue_spec.rb | ||
licenses_spec.rb | ||
list_spec.rb | ||
lock_spec.rb | ||
newgem_spec.rb | ||
open_spec.rb | ||
outdated_spec.rb | ||
post_bundle_message_spec.rb | ||
pristine_spec.rb | ||
remove_spec.rb | ||
show_spec.rb | ||
update_spec.rb | ||
version_spec.rb | ||
viz_spec.rb |