mpdcron icon indicating copy to clipboard operation
mpdcron copied to clipboard

[fix] Homescrape

Open jck opened this issue 15 years ago • 5 comments

Homescrape does not work unless I include "require 'date'" (I use archlinux) . Please make the change in git.

jck avatar Jul 20 '10 03:07 jck

jck, am I correct in assuming you mean to add it here?

tlvince avatar Jul 21 '10 23:07 tlvince

yes

jck avatar Jul 22 '10 01:07 jck

Thanks, I can confirm it solves this issue: /usr/bin/homescrape:106:in <main>': undefined methodparse' for Date:Class (NoMethodError)

tlvince avatar Jul 22 '10 10:07 tlvince

what's your ruby version?

alip avatar Jan 20 '11 16:01 alip

I've tested this in both 1.8.7 and 1.9.2, and can confirm that if I require "date" it works fine.

tjkirch avatar Mar 23 '11 02:03 tjkirch