Skip to content

Commit

Permalink
Fix platform error when running tests on GitHub
Browse files Browse the repository at this point in the history
The error was:

Your bundle only supports platforms ["arm64-darwin-23"] but your local platform
is x86_64-linux. Add the current platform to the lockfile with
`bundle lock --add-platform x86_64-linux` and try again.
Error: The process '/opt/hostedtoolcache/Ruby/3.2.2/x64/bin/bundle' failed with exit code 16
  • Loading branch information
Paul DobbinSchmaltz committed Nov 21, 2023
1 parent 4d322fa commit 6d8f567
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ GEM
much-stub (0.1.10)
nokogiri (1.15.5-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.5-x86_64-linux)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.4)
ast (~> 2.4.1)
Expand Down Expand Up @@ -112,6 +114,7 @@ GEM

PLATFORMS
arm64-darwin-23
x86_64-linux

DEPENDENCIES
benchmark-ips
Expand Down

0 comments on commit 6d8f567

Please sign in to comment.