* [ruby-core:89843] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
[not found] <redmine.issue-15314.20181116223433@ruby-lang.org>
@ 2018-11-16 22:34 ` richard.schneeman+ruby-lang
2018-11-26 5:00 ` [ruby-core:90069] " hsbt
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: richard.schneeman+ruby-lang @ 2018-11-16 22:34 UTC (permalink / raw)
To: 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 `<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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:90069] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
[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
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
3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2018-11-26 5:00 UTC (permalink / raw)
To: 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 `<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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:90075] [Ruby trunk Bug#15314][Feedback] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
[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 ` [ruby-core:90069] " hsbt
@ 2018-11-26 12:11 ` hsbt
2018-11-27 19:11 ` [ruby-core:90093] [Ruby trunk Bug#15314] " richard.schneeman+ruby-lang
3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2018-11-26 12:11 UTC (permalink / raw)
To: ruby-core
Issue #15314 has been updated by hsbt (Hiroshi SHIBATA).
Status changed from Assigned to Feedback
@schneems
I fixed this issue with https://github.com/ruby/ruby/commit/a94332819463589fe4537cc62beb41a0ee354cf3
Can you try the current trunk revision?
----------------------------------------
Bug #15314: Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
https://bugs.ruby-lang.org/issues/15314#change-75199
* 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 `<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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:90093] [Ruby trunk Bug#15314] Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
[not found] <redmine.issue-15314.20181116223433@ruby-lang.org>
` (2 preceding siblings ...)
2018-11-26 12:11 ` [ruby-core:90075] [Ruby trunk Bug#15314][Feedback] " hsbt
@ 2018-11-27 19:11 ` richard.schneeman+ruby-lang
3 siblings, 0 replies; 4+ messages in thread
From: richard.schneeman+ruby-lang @ 2018-11-27 19:11 UTC (permalink / raw)
To: 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 `<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/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-11-27 19:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[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 ` [ruby-core:90069] " 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
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).