Created
March 5, 2017 06:24
-
-
Save mvz/2b603766f5de391f5c23393f766146c8 to your computer and use it in GitHub Desktop.
Demonstration of bundler issue with nested bundle exec combined with openssl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reproduction of nested call bug with bundler 1.14.6 | |
FROM ruby:2.4.0 | |
RUN gem update openssl | |
RUN mkdir bbug | |
WORKDIR /bbug | |
RUN gem install bundler --version '1.14.6' | |
RUN echo "#!/usr/bin/env ruby\nrequire 'openssl'\np OpenSSL::VERSION" > a.rb | |
RUN touch Gemfile | |
RUN bundle | |
RUN chmod +x a.rb | |
RUN ./a.rb | |
RUN bundle exec ./a.rb | |
RUN bundle exec bundle exec ./a.rb | |
RUN bundle -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment