diff options
author | Bundlerbot <bot@bundler.io> | 2019-02-20 07:14:53 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-02-20 07:14:53 +0000 |
commit | 98a0a2dfdd42d9f624682915ab27fe1d4319def8 (patch) | |
tree | 47f063e3d75d471f724c5d2dc93432e970bf3795 /bundler.gemspec | |
parent | 5dc368b07c407702a485ed53d8fd8a8ab40fa9ef (diff) | |
parent | c5396b64b5d83eb0ffdda357bb3e3efb46c5d1c8 (diff) | |
download | bundler-98a0a2dfdd42d9f624682915ab27fe1d4319def8.tar.gz |
Merge #6973
6973: Backport the latest commits on ruby core repository. r=hsbt a=hsbt
### What was the end-user problem that led to this PR?
RSpec example of the bundled bundler was failed on Ruby 2.7 from ruby core repository. I fixed some of the issues on ruby core repository.
### What was your diagnosis of the problem?
1. I fixed the location of `lib/bundler.gemspec` to `lib/bundler/bundler.gemspec` for fixing gemspec issue of Ruby 2.6.1: https://github.com/ruby/ruby/commit/7c9771be02ddc707fea8ec96089c8a100c59f806
2. The current Bundler examples relied on the same versions of Ruby that are the first binary of PATH and rspec invocation binary. But the ruby core repository uses the different versions for them.
### What is your fix for the problem, implemented in this PR?
I fixed the location path of bundler.gemspec and uses `ENV['BUNDLE_GEM']` instead of hard-coded `gem` command.
### Why did you choose this fix out of the possible options?
There is no options on ruby core repository. I welcome to another options.
Co-authored-by: SHIBATA Hiroshi <hsbt@ruby-lang.org>
Diffstat (limited to 'bundler.gemspec')
0 files changed, 0 insertions, 0 deletions