From: hsbt@ruby-lang.org
To: ruby-core@ruby-lang.org
Subject: [ruby-core:90069] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
Date: Mon, 26 Nov 2018 05:00:33 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-75187.20181126050032.95311b0492a90f42@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15314.20181116223433@ruby-lang.org
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 `<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/
next prev parent reply other threads:[~2018-11-26 5:00 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 ` [ruby-core:89843] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs richard.schneeman+ruby-lang
2018-11-26 5:00 ` hsbt [this message]
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.journal-75187.20181126050032.95311b0492a90f42@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).