Skip to content

Commit

Permalink
bootstrap.sh: Fix RbConfig debug output
Browse files Browse the repository at this point in the history
Note: The heredoc did not parse properly for passing to -e
  • Loading branch information
trinitronx committed Feb 4, 2025
1 parent 3e9189c commit 5f2c60d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bootstrap-scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,10 @@ function debug_apple_arch() {
sysctl machdep
printf "rbconfig CC: "
ruby -r rbconfig -e "puts RbConfig::CONFIG['CC']"
ruby -r rbconfig -e <<'EORB'
puts "CC: #{RbConfig::CONFIG['CC']}"
puts "CXX: #{RbConfig::CONFIG['CXX']}"
puts "CFLAGS: #{RbConfig::CONFIG['CFLAGS']}"
EORB
printf "rbconfig CXX: "
ruby -r rbconfig -e "puts RbConfig::CONFIG['CXX']"
printf "rbconfig CFLAGS: "
ruby -r rbconfig -e "puts RbConfig::CONFIG['CFLAGS']"
printf "Built ruby arch: "
file $(which ruby)
printf "Built libruby arch: "
Expand Down

0 comments on commit 5f2c60d

Please sign in to comment.