You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error with version 1.8.0, while version 1.7.3 does not seem to have the problem.
I never had this error before, perhaps I had version 1.7.3 installed before today.
Traceback (most recent call last):
19: from test.rb:8:in `<main>'
18: from test.rb:8:in `puts'
17: from test.rb:8:in `puts'
16: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:142:in `render'
15: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:142:in `map'
14: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:142:in `block in render'
13: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb:6:in `render'
12: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb:6:in `map'
11: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb:7:in `block in render'
10: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:97:in `column_width'
9: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:339:in `column_widths'
8: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:201:in `recalc_column_widths'
7: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:201:in `each'
6: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:203:in `block in recalc_column_widths'
5: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:203:in `each'
4: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb:204:in `block (2 levels) in recalc_column_widths'
3: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb:71:in `value_for_column_width_recalc'
2: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb:71:in `max_by'
1: from /store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb:71:in `each'
/store/gems/ruby-2.5.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb:71:in `block in value_for_column_width_recalc': uninitialized constant Terminal::Table::Cell::Unicode (NameError)
System info
Ruby: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux] RVM: rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] Bundler: Bundler version 1.17.2 OS: Ubuntu 16.04.5 LTS
The text was updated successfully, but these errors were encountered:
I am getting an error with version 1.8.0, while version 1.7.3 does not seem to have the problem.
I never had this error before, perhaps I had version 1.7.3 installed before today.
Code
Error
uninitialized constant Terminal::Table::Cell::Unicode (NameError)
Error Location
terminal-table/lib/terminal-table/cell.rb
Lines 70 to 72 in e00dde3
Backtrace
System info
Ruby: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
RVM: rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
Bundler: Bundler version 1.17.2
OS: Ubuntu 16.04.5 LTS
The text was updated successfully, but these errors were encountered: