From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.6 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 294A01F97E for ; Mon, 26 Nov 2018 12:11:47 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id C714F120AE9; Mon, 26 Nov 2018 21:11:43 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 704EE120A1F for ; Mon, 26 Nov 2018 21:11:41 +0900 (JST) Received: by filter0118p3las1.sendgrid.net with SMTP id filter0118p3las1-27007-5BFBE2F8-1B 2018-11-26 12:11:36.664405466 +0000 UTC m=+921159.622754926 Received: from herokuapp.com (ec2-54-80-187-40.compute-1.amazonaws.com [54.80.187.40]) by ismtpd0025p1mdw1.sendgrid.net (SG) with ESMTP id UQo_KvpTTP6rBHlbkXLi-w Mon, 26 Nov 2018 12:11:36.504 +0000 (UTC) Date: Mon, 26 Nov 2018 12:11:37 +0000 (UTC) From: hsbt@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65471 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15314 X-Redmine-Issue-Author: schneems X-Redmine-Issue-Assignee: hsbt X-Redmine-Sender: hsbt X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7i2izuKnfrM/V6guS57lXjEa7wu4ktR3BTMG SR7Yy1G7/W7U8lA2OcfZsg+5wVhBzYykSBqH8hgaMy0wA0kRXrd384K0euchT+a202lOAKMIV59AKw +L1V8dBzz78c+MwcpxoPfrtFzCh5r7R9/dbGmhnpisxMmxyauFPKi2p6Tw== X-ML-Name: ruby-core X-Mail-Count: 90075 Subject: [ruby-core:90075] [Ruby trunk Bug#15314][Feedback] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15314 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Assigned to Feedback @schneems I fixed this issue with https://github.com/ruby/ruby/commit/a94332819463589fe4537cc62beb41a0ee354cf3 Can you try the current trunk revision? ---------------------------------------- Bug #15314: Bundler with 2.6 fails when installing dependencies into a --path with --binstubs https://bugs.ruby-lang.org/issues/15314#change-75199 * Author: schneems (Richard Schneeman) * Status: Feedback * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: * ruby -v: ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-darwin17] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- When using Ruby 2.6 and installing gems via bundler's `--path` option, there is an exception: ~~~ text $ ruby -v ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-darwin17] $ rails -v Rails 5.2.1 $ rails new myapp-2-6 $ cd myapp-2-6/ $ bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment $ export PATH="vendor/bundle/bin:$PATH" $ bundle -v Traceback (most recent call last): 1: from ./vendor/bundle/bin/bundle:104:in `
' ./vendor/bundle/bin/bundle:104:in `load': cannot load such file -- /Users/rschneeman/.rubies/ruby-2.6.0-preview3/lib/ruby/gems/2.6.0/gems/bundler-1.17.1/bin/bundle (LoadError) ~~~ This same script works fine on Ruby 2.5.3. -- https://bugs.ruby-lang.org/