-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gemfile.lock built with Bundler 2.2.x fails #1106
Comments
@schneems 949406 to your list. |
My vote is to push for a fix upstream; this wouldn't inherently be an issue unique to Heroku, I would think. Anyone that develops on a Mac ( Alternatively, a wilder idea still would be to shim the Linux platform string into |
I am running into this issue now as well, so glad I found this thread. I am developing on a Mac, deploying to Heroku. I tried adding
|
Update on the conversation: rubygems/rubygems#4269 (comment) |
@meltingice I updated the docs to recommend both "Linux" and "ruby" incantations to |
Hi there! I had same issue but resolved with following way.
please replace the platform name with the one in your Gemfile.lock with bundler 2.2.2 my |
From rubygems/rubygems#4269
Describe the problem as clearly as you can
Here's an example repo: https://github.com/schneems/bundler_223_fails_deploy. It has one dependency
rake
and the Gemfile.lock was generated by runningbundle install
on my mac. When I try to use this Gemfile/Gemfile.lock combo it fails:Then
What were you expecting to happen?
I expect that a Gemfile.lock produced on mac can also work on linux
What actually happened?
The gem appears to install, but then it cannot be loaded.
Extra context
Either adding
ruby
to thePLATFORMS
section orx86_64-linux
fixes the issue, but this is not immediately clear.If not included with the output of your command, run
bundle env
and paste the output belowbundle env (on my mac)
## EnvironmentBundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
bundle env (on docker)
## EnvironmentBundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
Remediation
Linked tickets:
https://heroku.support/950520
https://heroku.support/948863
Document this behavior somewhere on the devcenter
Determine a way to move forward to better remediate the issue. Current options:
The text was updated successfully, but these errors were encountered: