Skip to content

force bundler activation #57

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

Merged
merged 1 commit into from
May 13, 2019
Merged

Conversation

lamont-granquist
Copy link
Contributor

@lamont-granquist lamont-granquist commented May 13, 2019

after we've activated all the other gems, force bundler activation.

since we're appbundling we've already activated all the gems and have
all the constraints loaded. but bundler will not put bundler in a
Gemfile.lock due to bundler-ception issues. we also do not want to
read and pin the version of bundler which is used to BUILD the lockfile
since that isn't necessarily the bundler version which omnibus will
install.

but once we're done we can force-activate bundler to resolve any
possible unresolved spec.

eventually we could be mildly smarter here if we need to and only do
this if ther are unresolved specs and if the unresolved spec is
bundler, but doing it all the time should be simple+safe.

(and since we've always installed bundler and bundler is in ruby now i can't see how activating it would go wrong here....)

after we've activated all the other gems, force bundler activation.

since we're appbundling we've already activated all the gems and have
all the constraints loaded.  but bundler will not put bundler in a
Gemfile.lock due to bundler-ception issues.  we also do not want to
read and pin the version of bundler which is used to BUILD the lockfile
since that isn't necessarily the bundler version which omnibus will
install.

but once we're done we can force-activate bundler to resolve any
possible unresolved spec.

eventually we could be mildly smarter here if we need to and only do
this if ther are unresolved specs and if the unresolved spec is
bundler, but doing it all the time should be simple+safe.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
@lamont-granquist lamont-granquist merged commit 6391609 into master May 13, 2019
@lamont-granquist lamont-granquist deleted the lcg/force-bundler-activation branch May 13, 2019 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant