Skip to content

Conversation

@khasinski
Copy link
Contributor

@khasinski khasinski commented Jan 29, 2026

Summary

  • Fix BUNDLE_GEMFILE using relative path which fails when working directory changes to test/dummy
  • Use absolute path via ${{ github.workspace }}/${{ matrix.gemfile }} at job level
  • Replace cd test/dummy with working-directory directive for cleaner execution
  • Locked minitest to ~> 5.x

Problem

The CI was failing with:

test/dummy/gemfiles/rails8.gemfile not found (Bundler::GemfileNotFound)

This happened because BUNDLE_GEMFILE was set to a relative path (gemfiles/rails8.gemfile), and when the database setup step changed to test/dummy, bundler resolved the path from that directory.

Additionally minitest 6 release broke the test setup, pinning version to 5 fixes the issue for now.

Test plan

  • CI passes on this PR

- Use absolute path for BUNDLE_GEMFILE to prevent path resolution issues
  when working directory changes to test/dummy
- Pin minitest to ~> 5.0 (v6 moved Mock to separate gem)
- Add Rails and sqlite3 to API gemfiles for test compatibility
- Remove conflicting rails version from gemspec (gemfiles handle it)
@khasinski khasinski force-pushed the fix/ci-bundle-gemfile-path branch from 1d5aea5 to a7b19be Compare January 29, 2026 23:16
@TonsOfFun
Copy link
Contributor

🫡🧂🖖

@TonsOfFun TonsOfFun merged commit f5ffe0c into activeagents:main Jan 29, 2026
9 checks passed
@khasinski khasinski deleted the fix/ci-bundle-gemfile-path branch January 29, 2026 23:28
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.

2 participants