部署 在 Windows 开发的 Rails 项目部署到 Linux 报错

wu · August 22, 2018 · Last by wu replied at August 24, 2018 · 6105 hits

Your bundle only supports platforms ["x64-mingw32"] but your local platforms are ["ruby", "x86_64-linux"], and there's no compatible match between those two lists. 如何解决

看看你的 Gemfile?

重装 bundle?

问题解决了,在 github 的 issue 里找到的 bundle lock --add-platform ruby

You need to Sign in before reply, if you don't have an account, please Sign up first.