Project

General

Profile

Actions

Bug #25431

closed

Rail console runtime exception `NoMethodError: undefined method 'display_width' for "false":String`

Added by Peter Lehwess about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development tools
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Trying to perform any command on the rails console causes the following exception to be thrown:

NoMethodError: undefined method `display_width' for "false":String
Did you mean?  display
  from ~/.rvm/gems/ruby-2.4.1/gems/hirb-unicode-steakknife-0.0.8/lib/hirb/unicode/string_util.rb:5:in `size'
  from ~/.rvm/gems/ruby-2.4.1/gems/hirb-0.7.3/lib/hirb/pager.rb:89:in `activated_by?'
  from ~/.rvm/gems/ruby-2.4.1/gems/hirb-0.7.3/lib/hirb/view.rb:219:in `page_output'
  from ~/.rvm/gems/ruby-2.4.1/gems/hirb-0.7.3/lib/hirb/view.rb:201:in `view_or_page_output'
  from ~/.rvm/gems/ruby-2.4.1/gems/hirb-0.7.3/lib/hirb/view.rb:187:in `output_value'
  from ~/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/irb.rb:494:in `block (2 levels) in eval_input'
  from ~/.
Actions

Also available in: Atom PDF