I've set up a .sh file to tweet every 15 minutes. However, whenever the command is issued, this is what it returns.
pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:247:in ``tweet': undefined method ``configure' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'
I tried going to the code and putting a hashtag behind bot.configure so that it would cancel out, but then the same thing happened with the next line.
pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:248:in ``tweet': undefined method ``tweet' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'
I've set up a .sh file to tweet every 15 minutes. However, whenever the command is issued, this is what it returns.
pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:247:in ``tweet': undefined method ``configure' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'
I tried going to the code and putting a hashtag behind
bot.configure
so that it would cancel out, but then the same thing happened with the next line.pi@homepi1:~/mint $ ebooks tweet model/mint.model MintsEbooks Building: sentence 0 of 2384 /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:248:in ``tweet': undefined method ``tweet' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:412:in ``command' from /var/lib/gems/2.1.0/gems/twitter_ebooks-3.1.6/bin/ebooks:429:in ``<top (required)>' from /usr/local/bin/ebooks:23:in ``load' from /usr/local/bin/ebooks:23:in ``<main>'
Have I done something wrong? o_o