Follow the prompts when trying to create the app, or if you had t prior regenarate the api and secret keys.
Paste the information in the terminal
This is when the trouble starts with
7: from /usr/local/bin/t:23:in `<main>'
6: from /usr/local/bin/t:23:in `load'
5: from /Library/Ruby/Gems/2.6.0/gems/t-3.1.0/bin/t:20:in `<top (required)>'
4: from /Library/Ruby/Gems/2.6.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
3: from /Library/Ruby/Gems/2.6.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
2: from /Library/Ruby/Gems/2.6.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
1: from /Library/Ruby/Gems/2.6.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
This is when the trouble starts with
/Library/Ruby/Gems/2.6.0/gems/t-3.1.0/lib/t/cli.rb:82:in `authorize': uninitialized constant Twitter::REST::Client::BASE_URL (NameError) Sarahs-MacBook-Air:~ sa$
ProductVersion: 10.15.1 BuildVersion: 19B86a
I hope that helps a bit.