lib/openwfe/extras/participants/twitterparticipants.rb in openwferu-extras-0.9.16 vs lib/openwfe/extras/participants/twitterparticipants.rb in openwferu-extras-0.9.17
- old
+ new
@@ -1,8 +1,8 @@
#
#--
-# Copyright (c) 2007, John Mettraux, OpenWFE.org
+# Copyright (c) 2007-2008, John Mettraux, OpenWFE.org
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
@@ -43,27 +43,12 @@
# http://rubyforge.org/projects/twitter4r/
#
# atom-tools' license is X11/MIT
#
-require 'rubygems'
-
-begin
- #gem 'twitter4r', '0.2.3'
- require 'twitter'
-rescue LoadError
- #
- # soft dependency on 'atom-tools'
- #
- puts
- puts
- puts "'twitter4r' is missing. You can install it with :"
- puts
- puts " [sudo] gem install -y twitter4r"
- puts
- puts
- exit 1
-end
+#require 'rubygems'
+#gem 'twitter4r', '0.2.3'
+require 'twitter' # gem 'twitter4r'
require 'openwfe/utils'
require 'openwfe/participants/participant'