Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 11, 2023
1 parent d1db2c5 commit 59d21a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
# Show PATH with Powershell
$f, $r = $env:PATH.split([IO.Path]::PathSeparator); $r
- run: ls /Users/runner/hostedtoolcache/Ruby/3.2.2/arm64/bin
- run: tree /Users/runner/hostedtoolcache

- name: build compiler
run: |
ruby -e "puts 'build compiler: ' + RbConfig::CONFIG.fetch('CC_VERSION_MESSAGE', 'unknown').lines.first"
Expand Down
3 changes: 3 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ export async function setupRuby(options = {}) {

const rubyPrefix = await installer.install(platform, engine, version)

console.log("PATH: " + process.env['PATH'])
await exec.exec('sh', ['-c', 'echo $PATH'])

await common.measure('Print Ruby version', async () =>
await exec.exec('ruby', ['--version']))

Expand Down

0 comments on commit 59d21a2

Please sign in to comment.