avinashbot / redd

Redd is a batteries-included API wrapper for reddit.
MIT License
186 stars 75 forks source link

`it': couldn't guess app type (RuntimeError) in redd-0.9.0.pre.3 #77

Closed notcraig closed 6 years ago

notcraig commented 6 years ago

Using the pre-3 gem, and the basic bot example from the readme (with my own credentials), I get the error:
/usr/local/lib/ruby/gems/2.5.0/gems/redd-0.9.0.pre.3/lib/redd.rb:67:in 'it': couldn't guess app type (RuntimeError)

require 'redd'

session = Redd.it(
  user_agent: 'Redd:RandomBot:v1.0.0 (by /u/Mustermind)',
  client_id:  'PQgS0UaX9l70oQ',
  secret:     'PsF_kVZrW8nSVCG5kNsIgl-AaXE',
  username:   'RandomBot',
  password:   'hunter2'
)

MacOS High Sierra, with ruby 2.5 from homebrew. Could another updated gem have broken it or?