Skip to content

Commit

Permalink
Added gem command to CLI to provide feedback when it doesn't work as …
Browse files Browse the repository at this point in the history
…I'm removing the cli dependencies from twitter install dependencies.
  • Loading branch information
jnunemaker committed Dec 23, 2008
1 parent d6ed2e9 commit 75d2827
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/twitter
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ if ARGV[0] && ARGV[0] == 'd' && !STDIN.tty?
ARGV[2] = "#{STDIN.read}#{ARGV[2]}"
end

$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'rubygems'

gem 'main', '>= 2.8.2'
gem 'highline', '>= 1.4.0'
gem 'activerecord', '>= 2.1'

require 'twitter'
require 'twitter/cli'

0 comments on commit 75d2827

Please sign in to comment.