Skip to content

Conversation

@amir-arad
Copy link
Member

The deprecated actions/checkout@v2 was causing CI failures. Updated to v4 which is the current stable version and resolves compatibility issues with modern GitHub Actions runners.

Please note that if you are trying to update your website, this is the wrong place to do so. Please carefully follow the Beautiful Jekyll instructions (found at https://github.com/daattali/beautiful-jekyll#readme) and make sure you submit changes to your version of the project.

If your intention is to submit a Pull Request, please describe what your pull request achieves.

Thank you!

The deprecated actions/checkout@v2 was causing CI failures. Updated to v4 which is the current stable version and resolves compatibility issues with modern GitHub Actions runners.
Several draft files were missing the required YAML frontmatter, causing Jekyll to fail with exit code 5. Added proper frontmatter to:
- !dogfight-milestone.md
- !gunner-assist.md
- !physics-engine.md
- !pilot-assists.md

All draft files now have the required layout, title, subtitle, and tags fields.
Added --verbose and --trace flags to see the actual build error in CI logs.
Replaced the Docker-based Jekyll build with the standard ruby/setup-ruby action. This provides:
- Better error messages in CI logs
- Faster builds with bundler caching
- More reliable dependency management
- Standard Jekyll CI approach recommended by GitHub
The old Ruby 2.7 image was incompatible with the latest bundler which requires Ruby >= 3.2.0. Updated to Ruby 3.1 to match the CI configuration and resolve the devcontainer build failure.

This fixes the error:
"bundler requires Ruby version >= 3.2.0. The current ruby version is 2.7.8.225."
The post-create script wasn't executable, preventing automatic gem installation on codespace creation. Changes:
- Made script executable (chmod +x)
- Switched from sh to bash with set -e for better error handling
- Added verbose logging to show installation progress
- This ensures gems are installed automatically when the codespace is created

Fixes the "bundler: command not found: jekyll" error in codespace tasks.
The vscode user doesn't have write permissions to the RVM system gem directory. Configured bundler to install gems locally to vendor/bundle instead.

Changes:
- Updated post-create.sh to configure bundler with local path
- Created .bundle/config to persist the setting
- Added vendor/bundle to .gitignore
- Added vendor/ to Jekyll's exclude list in _config.yml

This fixes the "Bundler::PermissionError" when trying to install gems in codespaces.
@amir-arad amir-arad merged commit 7de71a6 into master Nov 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants