Actions
Bug #25431
closedRail console runtime exception `NoMethodError: undefined method 'display_width' for "false":String`
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 ~/.
Updated by Peter Lehwess about 6 years 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.
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman/pull/6237 added
Updated by Ohad Levy about 6 years ago
- Status changed from Ready For Testing to New
- Assignee deleted (
Marek Hulán) - Pull request deleted (
https://github.com/theforeman/foreman/pull/6237)
Updated by The Foreman Bot about 6 years ago
- Status changed from New to Ready For Testing
- Assignee set to Tomer Brisker
- Pull request https://github.com/theforeman/foreman/pull/6249 added
Updated by Tomer Brisker about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 1f6a8e03ce3a91da52fc79d5625984e11c9b4437.
Actions