From a94332819463589fe4537cc62beb41a0ee354cf3 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 25 Nov 2018 01:20:00 +0000 Subject: Use stub executables generated by RubyGems istead of original executables. It resolved the conflict issues when invoking `gem i rdoc` and the binstub issues with Bundler and Rails. [Bug #5060][ruby-core:38257][Fix GH-2023] * https://github.com/rubygems/rubygems/pull/2338 * https://github.com/heroku/heroku-buildpack-ruby/issues/829 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/bundler.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bundler.gemspec') diff --git a/lib/bundler.gemspec b/lib/bundler.gemspec index 96b9b7861b..2b2bb412d5 100644 --- a/lib/bundler.gemspec +++ b/lib/bundler.gemspec @@ -58,7 +58,7 @@ Gem::Specification.new do |s| # include the gemspec itself because warbler breaks w/o it s.files += %w[bundler.gemspec] - # s.bindir = "exe" - # s.executables = %w[bundle bundler] + s.bindir = "exe" + s.executables = %w[bundle bundler] s.require_paths = ["lib"] end -- cgit v1.2.3