rescue NoMethodError for dalli>2.x

same fix against 1-0-stable
fixes #2130