mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
clarify why twitter wont run
This commit is contained in:
parent
74777c0608
commit
fb40403c9c
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue