8000 IRB 1.2.0 broken on a Heroku private space · Issue #50 · ruby/irb · GitHub
[go: up one dir, main page]

Skip to content
IRB 1.2.0 broken on a Heroku private space #50
@schneems

Description

@schneems
$ heroku run bash -a schneems-my-space-app --size=private-s
~ $ bundle exec irb -v
irb 1.2.0 (2019-12-07)
~ $ bundle exec irb
This version of IRB is drastically different from the previous version.
If you hit any issues, you can use "irb --legacy" to run the old version.
If you want to just erase this message, please use "irb --multiline" or
add `IRB.conf[:USE_MULTILINE] = true` to your ~/.irbrc file.
bundler: failed to load command: irb (/app/vendor/bundle/ruby/2.5.0/bin/irb)
ZeroDivisionError: divided by 0
  /app/vendor/bundle/ruby/2.5.0/gems/reline-0.0.7/lib/reline/line_editor.rb:208:in `div'
  /app/vendor/bundle/ruby/2.5.0/gems/reline-0.0.7/lib/reline/line_editor.rb:208:in `calculate_height_by_width'
  /app/vendor/bundle/ruby/2.5.0/gems/reline-0.0.7/lib/reline/line_editor.rb:349:in `rerender'
  /app/vendor/bundle/ruby/2.5.0/gems/reline-0.0.7/lib/reline.rb:210:in `inner_readline'
  /app/vendor/bundle/ruby/2.5.0/gems/reline-0.0.7/lib/reline.rb:160:in `readmultiline'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/input-method.rb:258:in `gets'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:517:in `block (2 levels) in eval_input'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:693:in `signal_status'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:516:in `block in eval_input'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:166:in `lex'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:138:in `block (2 levels) in each_top_level_statement'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:135:in `loop'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:135:in `block in each_top_level_statement'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:134:in `catch'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb/ruby-lex.rb:134:in `each_top_level_statement'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:535:in `eval_input'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:470:in `block in run'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:469:in `catch'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:469:in `run'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/lib/irb.rb:398:in `start'
  /app/vendor/bundle/ruby/2.5.0/gems/irb-1.2.0/exe/irb:11:in `<top (required)>'
  /app/vendor/bundle/ruby/2.5.0/bin/irb:23:in `load'
  /app/vendor/bundle/ruby/2.5.0/bin/irb:23:in `<top (required)>'
~ $ ~ $ ~ $ ~ $ ~ $ ~ $ ~ $ ~ $ ~ $ ~ $ ~ $

You can email me richard@heroku.com and I can give a collaborator access to the app for debugging.

If you run it with irb --legacy it works fine.

Internal ticket for Heroku ID 800955

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0