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.8 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 D8F7B1F97E for ; Tue, 27 Nov 2018 19:12:09 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id D955E120EB5; Wed, 28 Nov 2018 04:12:05 +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 A44DB120C27 for ; Wed, 28 Nov 2018 04:12:00 +0900 (JST) Received: by filter0029p3iad2.sendgrid.net with SMTP id filter0029p3iad2-10925-5BFD96FD-11 2018-11-27 19:11:57.421578635 +0000 UTC m=+1033825.923944843 Received: from herokuapp.com (ec2-54-80-126-239.compute-1.amazonaws.com [54.80.126.239]) by ismtpd0042p1iad1.sendgrid.net (SG) with ESMTP id KzUut5tSRjqOFdN-ScVPvQ Tue, 27 Nov 2018 19:11:57.342 +0000 (UTC) Date: Tue, 27 Nov 2018 19:11:58 +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: 65489 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15314 X-Redmine-Issue-Author: schneems X-Redmine-Issue-Assignee: hsbt 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS5hgs6vKzZduezAs6W8wWlzjUtHpF+cdyoM1O FWupBri4cgZOaVvMbg2ZLqZW7HvUhReux1kRL2+Dh8jFuaD/UKbJB9qjxbO4J0I+HGCq8o8otRZ6Hn Q3TFmVQ2lEJfuyXChbR8qfFJkRjgyx64qKAXB2dIn9cfyT+aSKFHZEAMIT2V5VpvhicGAHut10i+RZ U= X-ML-Name: ruby-core X-Mail-Count: 90093 Subject: [ruby-core:90093] [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 schneems (Richard Schneeman). I confirm this issue is no longer a problem for Heroku. Thanks for your work! I did hit a segfault though with bootsnap https://gist.github.com/schneems/95ad82f39c8c7f24fe228d3bfda2937e. It looks unrelated, I'll try to reproduce locally and open a new issue. ---------------------------------------- Bug #15314: Bundler with 2.6 fails when installing dependencies into a --path with --binstubs https://bugs.ruby-lang.org/issues/15314#change-75218 * 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/