Project

General

Profile

Bug #25431

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

Added by Peter Lehwess about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Development tools
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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 ~/.

Associated revisions

Revision 1f6a8e03 (diff)
Added by Tomer Brisker 12 months ago

Fixes #25431 - remove hirb-unicode-steakknife gem

History

#1 Updated by Peter Lehwess about 1 year ago

This seems to be coming from the gem `hirb-unicode-steakknife`. Removing this solves the problem.

The gem itself looks to be outdated and no longer maintained. I suggest removing it all together.

#2 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Marek Hulán
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6237 added

#3 Updated by Ohad Levy about 1 year ago

  • Assignee deleted (Marek Hulán)
  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/6237)

#4 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6249 added

#5 Updated by Tomer Brisker 12 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Marek Hulán 12 months ago

  • Fixed in Releases 1.21.0 added

#7 Updated by Tomer Brisker 10 months ago

  • Category set to Development tools

Also available in: Atom PDF