2011年5月4日水曜日

[Ruby] Rubyでtwitter bot作成 2. Twitter APIのインストール

前回から結構間が開いてしまった。なんだかんだで研修は遊b..忙しいね色々と。

前回はrubygemのインストールをしたので、今回はrubygemを使ってTwitter APIのインストールをしてみる。

 
$ rubygem install twitter
Fetching: hashie-1.0.0.gem (100%)
Fetching: addressable-2.2.5.gem (100%)
Fetching: multipart-post-1.1.0.gem (100%)
Fetching: rack-1.2.2.gem (100%)
Fetching: faraday-0.6.1.gem (100%)
Fetching: faraday_middleware-0.6.3.gem (100%)
Fetching: multi_json-1.0.0.gem (100%)
Fetching: multi_xml-0.2.2.gem (100%)
Fetching: rash-0.3.0.gem (100%)
Fetching: simple_oauth-0.1.4.gem (100%)
Fetching: twitter-1.4.1.gem (100%)
**************************************************************


  Follow @gem on Twitter for announcements, updates, and news.
  https://twitter.com/gem

  Join the mailing list!
  https://groups.google.com/group/ruby-twitter-gem

  Add your project or organization to the apps wiki!
  https://github.com/jnunemaker/twitter/wiki/apps

**************************************************************

Successfully installed hashie-1.0.0
Successfully installed addressable-2.2.5
Successfully installed multipart-post-1.1.0
Successfully installed rack-1.2.2
Successfully installed faraday-0.6.1
Successfully installed faraday_middleware-0.6.3
Successfully installed multi_json-1.0.0
Successfully installed multi_xml-0.2.2
Successfully installed rash-0.3.0
Successfully installed simple_oauth-0.1.4
Successfully installed twitter-1.4.1
11 gems installed
Installing ri documentation for hashie-1.0.0...
Installing ri documentation for addressable-2.2.5...
Installing ri documentation for multipart-post-1.1.0...
Installing ri documentation for rack-1.2.2...
Installing ri documentation for faraday-0.6.1...
Installing ri documentation for faraday_middleware-0.6.3...
Installing ri documentation for multi_json-1.0.0...
Installing ri documentation for multi_xml-0.2.2...
Installing ri documentation for rash-0.3.0...
Installing ri documentation for simple_oauth-0.1.4...
Installing ri documentation for twitter-1.4.1...
Installing RDoc documentation for hashie-1.0.0...
Installing RDoc documentation for addressable-2.2.5...
Installing RDoc documentation for multipart-post-1.1.0...
Installing RDoc documentation for rack-1.2.2...
Installing RDoc documentation for faraday-0.6.1...
Installing RDoc documentation for faraday_middleware-0.6.3...
Installing RDoc documentation for multi_json-1.0.0...
Installing RDoc documentation for multi_xml-0.2.2...
Installing RDoc documentation for rash-0.3.0...
Installing RDoc documentation for simple_oauth-0.1.4...
Installing RDoc documentation for twitter-1.4.1...

コマンドとログはこんな感じ。インストールが始まるまでのダウンロード中はなんの反応もないからちょっと不安だった。

0 件のコメント:

コメントを投稿