Skip to content
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

Bundler fails on production with the plugin added #12

Closed
juliancheal opened this issue Mar 31, 2020 · 2 comments
Closed

Bundler fails on production with the plugin added #12

juliancheal opened this issue Mar 31, 2020 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@juliancheal
Copy link
Member

juliancheal commented Mar 31, 2020

Speaking to @Fryguy he thinks this is a bundler issue, relating to that the plugin is not in the lock file.

Here is the output from my Heroku deploy

-----> Ruby app detected
-----> Installing bundler 1.17.3
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.6.5
-----> Installing dependencies using bundler 1.17.3
       Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
       The dependency bundler-inject (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for  but the dependency is only for . To add those platforms to the bundle, run `bundle lock --add-platform `.
       Unable to find a spec satisfying bundler-inject (>= 0) in the set. Perhaps the
       lockfile is corrupted?
       Bundler Output: The dependency bundler-inject (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for  but the dependency is only for . To add those platforms to the bundle, run `bundle lock --add-platform `.
       Unable to find a spec satisfying bundler-inject (>= 0) in the set. Perhaps the
       lockfile is corrupted?
 !
 !     Failed to install gems via Bundler.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Moving plugin 'bundler-inject' to group :development do didn't fix this either as I get a NoMethodError: undefined method 'full_gem_path' for nil:NilClass as seen in this bundler issue rubygems/rubygems#3319 (comment)

@Fryguy
Copy link
Member

Fryguy commented Mar 31, 2020

We are also seeing something similar in the manageiq bot - ManageIQ/miq_bot#448 - specifically, https://travis-ci.org/github/ManageIQ/miq_bot/builds/663249302#L255

@Fryguy Fryguy added bug Something isn't working help wanted Extra attention is needed labels Mar 31, 2020
@Fryguy
Copy link
Member

Fryguy commented Jan 19, 2024

I'm going to close this one until we have a reproducer - I haven't seen it in years.

@Fryguy Fryguy closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants