* [ruby-core:90878] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
[not found] <redmine.issue-15503.20190103203456@ruby-lang.org>
@ 2019-01-03 20:34 ` richard.schneeman+ruby-lang
2019-01-04 3:49 ` [ruby-core:90882] [Ruby trunk Bug#15503][Assigned] " hsbt
` (2 subsequent siblings)
3 siblings, 0 replies; 4+ messages in thread
From: richard.schneeman+ruby-lang @ 2019-01-03 20:34 UTC (permalink / raw)
To: ruby-core
Issue #15503 has been reported by schneems (Richard Schneeman).
----------------------------------------
Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
https://bugs.ruby-lang.org/issues/15503
* Author: schneems (Richard Schneeman)
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
~~~
cd /tmp
mkdir irb-issue
cd irb-issue
chruby 2.6
echo 'source "https://rubygems.org"' > Gemfile
bundle install
bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
~~~
Here is the failure:
~~~
$ bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
Traceback (most recent call last):
2: from /Users/rschneeman/.gem/ruby/2.6.0/bin/irb:23:in `<main>'
1: from /Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:482:in `block in replace_bin_path'
/Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:462:in `block in replace_bin_path': can't find executable irb for gem irb. irb is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
~~~
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:90882] [Ruby trunk Bug#15503][Assigned] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
[not found] <redmine.issue-15503.20190103203456@ruby-lang.org>
2019-01-03 20:34 ` [ruby-core:90878] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session richard.schneeman+ruby-lang
@ 2019-01-04 3:49 ` hsbt
2019-01-16 0:19 ` [ruby-core:91111] [Ruby trunk Bug#15503] " segiddins
2019-02-13 23:52 ` [ruby-core:91538] " deivid.rodriguez
3 siblings, 0 replies; 4+ messages in thread
From: hsbt @ 2019-01-04 3:49 UTC (permalink / raw)
To: ruby-core
Issue #15503 has been updated by hsbt (Hiroshi SHIBATA).
Status changed from Open to Assigned
Assignee set to hsbt (Hiroshi SHIBATA)
----------------------------------------
Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
https://bugs.ruby-lang.org/issues/15503#change-76067
* Author: schneems (Richard Schneeman)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
~~~
cd /tmp
mkdir irb-issue
cd irb-issue
chruby 2.6
echo 'source "https://rubygems.org"' > Gemfile
bundle install
bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
~~~
Here is the failure:
~~~
$ bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
Traceback (most recent call last):
2: from /Users/rschneeman/.gem/ruby/2.6.0/bin/irb:23:in `<main>'
1: from /Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:482:in `block in replace_bin_path'
/Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:462:in `block in replace_bin_path': can't find executable irb for gem irb. irb is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
~~~
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:91111] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
[not found] <redmine.issue-15503.20190103203456@ruby-lang.org>
2019-01-03 20:34 ` [ruby-core:90878] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session richard.schneeman+ruby-lang
2019-01-04 3:49 ` [ruby-core:90882] [Ruby trunk Bug#15503][Assigned] " hsbt
@ 2019-01-16 0:19 ` segiddins
2019-02-13 23:52 ` [ruby-core:91538] " deivid.rodriguez
3 siblings, 0 replies; 4+ messages in thread
From: segiddins @ 2019-01-16 0:19 UTC (permalink / raw)
To: ruby-core
Issue #15503 has been updated by segiddins (Samuel Giddins).
schneems (Richard Schneeman) wrote:
> Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
I believe that's because irb was not a gem in Ruby 2.5 and was part of the stdlib, but in 2.6 it's a gem.
----------------------------------------
Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
https://bugs.ruby-lang.org/issues/15503#change-76345
* Author: schneems (Richard Schneeman)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
~~~
cd /tmp
mkdir irb-issue
cd irb-issue
chruby 2.6
echo 'source "https://rubygems.org"' > Gemfile
bundle install
bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
~~~
Here is the failure:
~~~
$ bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
Traceback (most recent call last):
2: from /Users/rschneeman/.gem/ruby/2.6.0/bin/irb:23:in `<main>'
1: from /Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:482:in `block in replace_bin_path'
/Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:462:in `block in replace_bin_path': can't find executable irb for gem irb. irb is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
~~~
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ruby-core:91538] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
[not found] <redmine.issue-15503.20190103203456@ruby-lang.org>
` (2 preceding siblings ...)
2019-01-16 0:19 ` [ruby-core:91111] [Ruby trunk Bug#15503] " segiddins
@ 2019-02-13 23:52 ` deivid.rodriguez
3 siblings, 0 replies; 4+ messages in thread
From: deivid.rodriguez @ 2019-02-13 23:52 UTC (permalink / raw)
To: ruby-core
Issue #15503 has been updated by deivid (David Rodríguez).
I proposed a fix for this issue to the bundler repo in https://github.com/bundler/bundler/pull/6963.
----------------------------------------
Bug #15503: Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session
https://bugs.ruby-lang.org/issues/15503#change-76795
* Author: schneems (Richard Schneeman)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version:
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hello. This script fails on Ruby 2.6 but works successfully with Ruby 2.5:
~~~
cd /tmp
mkdir irb-issue
cd irb-issue
chruby 2.6
echo 'source "https://rubygems.org"' > Gemfile
bundle install
bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
~~~
Here is the failure:
~~~
$ bundle exec ruby -e 'puts `echo "1 + 1" | irb --simple-prompt`'
Traceback (most recent call last):
2: from /Users/rschneeman/.gem/ruby/2.6.0/bin/irb:23:in `<main>'
1: from /Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:482:in `block in replace_bin_path'
/Users/rschneeman/.rubies/ruby-2.6.0/lib/ruby/2.6.0/bundler/rubygems_integration.rb:462:in `block in replace_bin_path': can't find executable irb for gem irb. irb is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
~~~
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-13 23:52 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-15503.20190103203456@ruby-lang.org>
2019-01-03 20:34 ` [ruby-core:90878] [Ruby trunk Bug#15503] Error in Ruby 2.6 when trying to shell out to invoke `irb` while in a `bundle exec` session richard.schneeman+ruby-lang
2019-01-04 3:49 ` [ruby-core:90882] [Ruby trunk Bug#15503][Assigned] " hsbt
2019-01-16 0:19 ` [ruby-core:91111] [Ruby trunk Bug#15503] " segiddins
2019-02-13 23:52 ` [ruby-core:91538] " deivid.rodriguez
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).