Gemfile.lock has no <platform> platform
A mevcore app hosting error at the “install and build” stage.
What it means
Gemfile.lock was made on another platform (macOS/Windows).
The error happened while installing dependencies or building the project. The new version was not started, the current one keeps running.
Typical causes
- The install or build command exited with an error
- Out of memory or disk space
- The language or package manager version is not the one the project expects
How to fix it on mevcore
Run «bundle lock --add-platform <platform>» locally (also x86_64-linux-gnu or ruby if needed), commit Gemfile.lock and deploy again.
- 1 Open the app in the mevcore panel: the Problems card on the overview shows this error and the log line it was found in.
- 2 After the fix, deploy again. If it fails again, the log ends with [mevcore] lines naming the new error code.
- 3 The "Ask AI" button next to the error prepares a request for ChatGPT or Claude: the error code, the end of the log without secrets and the app settings.
For an AI assistant
The same in English: paste it together with the log into the AI chat.
mevcore error code: install.bundler_platform phase: install and build diagnosis: Gemfile.lock has no <platform> platform platform hint: Gemfile.lock was made on another platform (macOS/Windows). Run «bundle lock --add-platform <platform>» locally (also x86_64-linux-gnu or ruby if needed), commit Gemfile.lock and deploy again. platform docs: https://mevcore.com/llms-full.txt
Related errors
- install.docker_platform_mismatch The base image has no build for <platform>
- install.php_platform_check Dependencies need PHP <required>, the server has <current>
- install.bundler_conflict Bundler cannot pick versions for <gem>
- runtime.php_platform_check Dependencies need PHP <required>, the server has <current>
All error codes · How to prepare your project for mevcore · llms-full.txt
Can't fix it?
Message support with the error code: we will tell you what to change in the project or settings.