I am trying to push a project to Heroku for the first time using git push heroku master
. However, I end up getting the following error:
Your bundle only supports platforms ["arm64-darwin-21"] 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.
Running bundle lock --add-platform x86_64-linux
in turn results in the following output:
[17052, #<Thread:0x000000015307bc60 run>, #<NameError: uninitialized constant Gem::Source
... followed by a hundred lines of different paths on my computer.
Does anyone know how to interpret and solve this kind of output?
Thank you very much for your help!