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.8 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 9042E1F97E for ; Mon, 26 Nov 2018 05:00:41 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 9842B121C0F; Mon, 26 Nov 2018 14:00:39 +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 19E55121BE2 for ; Mon, 26 Nov 2018 14:00:36 +0900 (JST) Received: by filter0179p3mdw1.sendgrid.net with SMTP id filter0179p3mdw1-31704-5BFB7DF1-57 2018-11-26 05:00:33.533466197 +0000 UTC m=+896602.284501120 Received: from herokuapp.com (ec2-54-162-255-176.compute-1.amazonaws.com [54.162.255.176]) by ismtpd0029p1iad2.sendgrid.net (SG) with ESMTP id jxnjSAhYTxeSPAA04N49eg Mon, 26 Nov 2018 05:00:33.548 +0000 (UTC) Date: Mon, 26 Nov 2018 05:00:33 +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: 65465 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS5nbNw9rXsznYLN+t4Ub8wWV3bcaix0PuVw0o 2JQcNtztJ0jvLgujAGWEny8yQHlRx9jgRpcKjQLPssnsaphAFnhaQ3A9nu9YXA2Z5qhQJrDv6mfGeI zTyGoSlq+eEgWlRABNJJ7EGC82t+6up5eS9JZ5w9cOMVP4rhuCcssl/NGQ== X-ML-Name: ruby-core X-Mail-Count: 90069 Subject: [ruby-core:90069] [Ruby trunk Bug#15314] 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). Assignee set to hsbt (Hiroshi SHIBATA) ---------------------------------------- Bug #15314: Bundler with 2.6 fails when installing dependencies into a --path with --binstubs https://bugs.ruby-lang.org/issues/15314#change-75187 * Author: schneems (Richard Schneeman) * Status: Assigned * 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/