Ronnie76er/Campfire-Remove-Files

[Crash] can't convert nil into String

Opened this issue · 1 comments

Getting this when running the script with or without correct server and credentials:

can't convert nil into String
/Users/avocade/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/json/common.rb:148:in `initialize': can't convert nil into String (TypeError)
from /Users/avocade/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/json/common.rb:148:in `new'
from /Users/avocade/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from ./campfireremovefiles.rb:35:in `choose_room'
from ./campfireremovefiles.rb:76:in `<main>'

Probably since I'm running 1.9.3, missed the 1.8.7 requirement (can't even compile that version on Mountain Lion these days ;)