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=-2.9 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS shortcircuit=no autolearn=no 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 BE9C31F87F for ; Fri, 16 Nov 2018 22:34:50 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id E6230120DAD; Sat, 17 Nov 2018 07:34:41 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id A215B120DAD for ; Sat, 17 Nov 2018 07:34:39 +0900 (JST) Received: by filter0065p3iad2.sendgrid.net with SMTP id filter0065p3iad2-16025-5BEF45F9-37 2018-11-16 22:34:33.901106659 +0000 UTC m=+95434.076602585 Received: from herokuapp.com (ec2-54-224-45-15.compute-1.amazonaws.com [54.224.45.15]) by ismtpd0001p1iad2.sendgrid.net (SG) with ESMTP id sm857YQBS0OAmUQURxyIsg for ; Fri, 16 Nov 2018 22:34:33.915 +0000 (UTC) Date: Fri, 16 Nov 2018 22:34:35 +0000 (UTC) From: richard.schneeman+ruby-lang@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65233 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15314 X-Redmine-Issue-Author: schneems X-Redmine-Sender: schneems 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS4oKP8iRFWHKKdDbpkuQyxy/+o/vP8f+dD4cA 8xwItKOtSFEIkDZUsY4AmUzsOBJd3hRspCNzRtlZKndaIOy+OilqnzkVdpAGB9KqkUSiPHlXN0GXfQ XlTAotcF5IMh8eW25nhUFseOo5oZOjOunhznmUXgLgjV/YF2Lx2pX0xghTzeEx4HuNlER/LCFtg2cV s= X-ML-Name: ruby-core X-Mail-Count: 89843 Subject: [ruby-core:89843] [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 reported by schneems (Richard Schneeman). ---------------------------------------- Bug #15314: Bundler with 2.6 fails when installing dependencies into a --path with --binstubs https://bugs.ruby-lang.org/issues/15314 * Author: schneems (Richard Schneeman) * Status: Open * Priority: Normal * Assignee: * 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/