ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: richard.schneeman+ruby-lang@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:89843] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
Date: Fri, 16 Nov 2018 22:34:35 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-15314.20181116223433.8fa3545746d80917@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15314.20181116223433@ruby-lang.org

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 `<main>'
./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/

       reply	other threads:[~2018-11-16 22:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-15314.20181116223433@ruby-lang.org>
2018-11-16 22:34 ` richard.schneeman+ruby-lang [this message]
2018-11-26  5:00 ` [ruby-core:90069] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs hsbt
2018-11-26 12:11 ` [ruby-core:90075] [Ruby trunk Bug#15314][Feedback] " hsbt
2018-11-27 19:11 ` [ruby-core:90093] [Ruby trunk Bug#15314] " richard.schneeman+ruby-lang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-15314.20181116223433.8fa3545746d80917@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).