I’m stuck on Stage #ZV2.
I’ve tried to find similar problems on that stage:
- Getting exec: zig-out/bin/main: not found error
- Error while finding module specification for 'app.main'
Here are my logs from test run:
[compile] Moved ./.codecrafters/run.sh → ./your_program.sh
[compile] Compilation successful.
Debug = true
[tester::#ZV2] Running tests for Stage #ZV2 (Filename Completion - File completion)
[tester::#ZV2] [working_dir] - pineapple-71.txt
[tester::#ZV2] Running ./your_program.sh
[your-program] Could not locate Gemfile
[tester::#ZV2] ^ Expected prompt ("$ ") but received "Could not locate Gemfile"
[tester::#ZV2] Test failed
And here’s a snippet of .codecrafters/run.sh:
#!/bin/sh
#
# This script is used to run your program on CodeCrafters
#
# This runs after .codecrafters/compile.sh
#
# Learn more: https://codecrafters.io/program-interface
set -e # Exit on failure
exec bundle exec ruby app/main.rb "$@"