clarify why twitter wont run

This commit is contained in:
Andrew Cantino 2014-10-03 19:11:21 -07:00
parent 74777c0608
commit fb40403c9c

View file

@ -46,7 +46,11 @@ module TwitterConcern
module ClassMethods
def twitter_dependencies_missing
"## Include the `twitter`, `omniauth-twitter`, and `cantino-twitter-stream` gems in your Gemfile to use Twitter Agents."
if defined?(Twitter)
"## Set TWITTER_OAUTH_KEY and TWITTER_OAUTH_SECRET in your environment to use Twitter Agents."
else
"## Include the `twitter`, `omniauth-twitter`, and `cantino-twitter-stream` gems in your Gemfile to use Twitter Agents."
end
end
end
end