bin/twitter in pjdavis-twitter-0.3.9 vs bin/twitter in pjdavis-twitter-0.4.2
- old
+ new
@@ -8,8 +8,7 @@
# if we have stdin, let's prepend it to the message for d
if ARGV[0] && ARGV[0] == 'd' && !STDIN.tty?
ARGV[2] = "#{STDIN.read}#{ARGV[2]}"
end
-$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
-require 'twitter'
+require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'twitter'))
require 'twitter/cli'
\ No newline at end of file