-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
`force_encoding': can't modify frozen String: "" (FrozenError) #452
Comments
Hello in order to fix this issue. I modify the file body.rb from http as this commit: httprb/http@2df5e46 |
Where does that file live, locally? I know almost nothing about ruby, so I'd love to do this, but I don't know how! |
Ah, looks like it's in |
oh hey I just managed to update |
depend on newer version of httprb/http to see if this fixes sferik#452
Hi everyone,
i'm trying to setup t on my ubuntu 20.04 system. I'm using ruby 2.7.0 version.
here is my error log. could someone please help out?
```t list create following-
'date "+%Y-%m-%d"
Traceback (most recent call last):
20: from /usr/local/bin/t:23:in `
19: from /usr/local/bin/t:23:in `load'
18: from /var/lib/gems/2.7.0/gems/t-3.1.0/bin/t:20:in `<top (required)>'
17: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
16: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
15: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
14: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
13: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:243:in `block in subcommand'
12: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:116:in `invoke'
11: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
10: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
9: from /var/lib/gems/2.7.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
8: from /var/lib/gems/2.7.0/gems/t-3.1.0/lib/t/list.rb:46:in `create'
7: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/lists.rb:328:in `create_list'
6: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:64:in `perform_post_with_object'
5: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:72:in `perform_request_with_object'
4: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/utils.rb:50:in `perform_request'
3: from /var/lib/gems/2.7.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:37:in `perform'
2: from /usr/lib/ruby/2.7.0/forwardable.rb:229:in `empty?'
1: from /var/lib/gems/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in `to_s'
/var/lib/gems/2.7.0/gems/http-3.3.0/lib/http/response/body.rb:52:in `force_encoding': can't modify frozen String: "" (FrozenError)
The text was updated successfully, but these errors were encountered: