Skip to content

Instantly share code, notes, and snippets.

@chrisa
Created May 6, 2012 12:44
Show Gist options
  • Select an option

  • Save chrisa/2622152 to your computer and use it in GitHub Desktop.

Select an option

Save chrisa/2622152 to your computer and use it in GitHub Desktop.
~ ➔ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
~ ➔ sudo gem install twitter
Password:
Successfully installed faraday-0.8.0
Successfully installed multi_json-1.3.4
Successfully installed simple_oauth-0.1.7
Successfully installed twitter-2.2.6
4 gems installed
Installing ri documentation for faraday-0.8.0...
Installing ri documentation for multi_json-1.3.4...
Installing ri documentation for simple_oauth-0.1.7...
Installing ri documentation for twitter-2.2.6...
Installing RDoc documentation for faraday-0.8.0...
Installing RDoc documentation for multi_json-1.3.4...
Installing RDoc documentation for simple_oauth-0.1.7...
Installing RDoc documentation for twitter-2.2.6...
~ ➔ irb
>> require 'rubygems'
=> false
>> require 'twitter'
=> true
>> Twitter.user_timeline("chrisandrews").first.text
=> "I'm attending Node.js Lab Day, 27th April 2012 in Hove, to hack on Node's #dtrace support http://t.co/8qnshzPg"
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment