@daigoroubotをMac OS Xで動かすまでのメモです。 なんて需要が無さそうな記事なんだ! Rubyとgemををインストール とりあえず、バージョンは次のような感じで。インストール方法はこれを参考にしてください。 ruby 1.9.3p194 gem 1.8.24 required gems gem install oauth json sqlite3 twitter tweetstream unicode_math MeCabを使えるようにしておく homebrewを導入しているなら、これでok。 Mac用のメモですが、Ubuntuならbrewの代わりにapt-getなど、環境に合わせた適当なパッケージ管理システムにすれば普通に動くと思います。 brew install mecab mecab-ipadic MeCabのRubyバインディングをする ここからbrewで入れたMeCabと同じバージョンのRubyバインディングをダウンロードする。 tar -jxf mecab-ruby-xxx.tar.gzなどで解凍。 READMEの指示通りに作業する。 もし次のようなエラーが出たら、extconf.rbを編集する必要があるよう。 (参考:MacPortsで、mecabと、mecab-rubyのインストール) dyld: lazy symbol binding failed: Symbol not found: __ZN5MeCab12getLastErrorEv Referenced from: /Users/kobayashi/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/i686-darwin10.7.0/MeCab.bundle Expected in: flat namespace dyld: Symbol not found: __ZN5MeCab12getLastErrorEv Referenced from: /Users/kobayashi/.rvm/rubies/ruby-1.8.7-p174/lib/ruby/site_ruby/1.8/i686-darwin10.7.0/MeCab.bundle Expected in: flat namespace extconf.

Read more