Skip to content

`authorize': uninitialized constant Twitter::REST::Client::BASE_URL (NameError) #402

@improvethings

Description

@improvethings

$ t authorize
Welcome! Before you can use t, you'll first need to register an
application with Twitter. Just follow the steps below:

  1. Sign in to the Twitter Application Management site and click
    "Create New App".
  2. Complete the required fields and submit the form.
    Note: Your application must have a unique name.
  3. Go to the Permissions tab of your application, and change the
    Access setting to "Read, Write and Access direct messages".
  4. Go to the Keys and Access Tokens tab to view the consumer key
    and secret which you'll need to copy and paste below when
    prompted.

Press [Enter] to open the Twitter Developer site.

Enter your API key:
Enter your API secret:
/Library/Ruby/Gems/2.3.0/gems/t-3.1.0/lib/t/cli.rb:82:in authorize': uninitialized constant Twitter::REST::Client::BASE_URL (NameError) from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in run'
from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command' from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in dispatch'
from /Library/Ruby/Gems/2.3.0/gems/thor-0.20.0/lib/thor/base.rb:466:in start' from /Library/Ruby/Gems/2.3.0/gems/t-3.1.0/bin/t:20:in <top (required)>'
from /usr/local/bin/t:22:in load' from /usr/local/bin/t:22:in

'

$ uname -srm
Darwin 17.5.0 x86_64
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.4
$ system_profiler SPSoftwareDataType
Software:

System Software Overview:

  System Version: macOS 10.13.4 (17E202)
  Kernel Version: Darwin 17.5.0
  Boot Volume: osx
  Boot Mode: Normal

$ t --version
3.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions