Open ryancdotorg opened 3 years ago
I'm getting the same bug.
~ ᐅ t mentions /usr/local/lib/ruby/gems/3.0.0/gems/http-3.3.0/lib/http/response/body.rb:52:in 'force_encoding': can't modify frozen String: "" (FrozenError) from /usr/local/lib/ruby/gems/3.0.0/gems/http-3.3.0/lib/http/response/body.rb:52:in 'to_s' from /usr/local/Cellar/ruby/3.0.2/lib/ruby/3.0.0/forwardable.rb:232:in 'empty?' from /usr/local/lib/ruby/gems/3.0.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:37:in 'perform' from /usr/local/lib/ruby/gems/3.0.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:50:in 'perform_request' from /usr/local/lib/ruby/gems/3.0.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:95:in 'perform_request_with_objects' from /usr/local/lib/ruby/gems/3.0.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:80:in 'perform_get_with_objects' from /usr/local/lib/ruby/gems/3.0.0/gems/twitter-6.2.0/lib/twitter/rest/timelines.rb:26:in 'mentions_timeline' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/cli.rb:521:in 'block in mentions' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/collectable.rb:26:in 'block in collect_with_count' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/collectable.rb:12:in 'block in collect_with_max_id' from /usr/local/lib/ruby/gems/3.0.0/gems/retryable-2.0.4/lib/retryable.rb:68:in 'retryable' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/collectable.rb:11:in 'collect_with_max_id' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/collectable.rb:16:in 'collect_with_max_id' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/collectable.rb:22:in 'collect_with_count' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/lib/t/cli.rb:520:in 'mentions' from /usr/local/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in 'run' from /usr/local/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in 'invoke_command' from /usr/local/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor.rb:392:in 'dispatch' from /usr/local/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/base.rb:485:in 'start' from /usr/local/lib/ruby/gems/3.0.0/gems/t-3.1.0/bin/t:20:in '<top (required)>' from /usr/local/lib/ruby/gems/3.0.0/bin/t:23:in 'load' from /usr/local/lib/ruby/gems/3.0.0/bin/t:23:in '<main>'
I used RVM to switch to ruby 2.5.9 and that worked for me
Hello, i'm also getting the same error. don't know how to solve this.
Looks like the same issue as #452
I'm using Ubuntu 20.04 with the distribution provided ruby package, which is ruby 2.7.0. Any attempt to use
t
now gives a traceback similar to the following: