Permalink
Browse files

give a friendly notice if trying to use twitter contact without twitt…

…er gem installed
  • Loading branch information...
1 parent 73f4339 commit e490929c727ef9e2bb3f4d792f8c1f4f7bc06399 @mojombo mojombo committed Nov 14, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/god.rb
View
@@ -56,6 +56,8 @@
begin
require 'god/contacts/twitter'
rescue LoadError
+ puts "You must have the 'twitter' gem installed to use the Twitter contact."
+ exit 1
end
begin
require 'god/contacts/jabber'

0 comments on commit e490929

Please sign in to comment.