※ 2011.07.30: 2.0.1 用に修正 (CAFile)
1. Xcode をいれる
2. MacPorts をいれる
3. /opt/local/bin にPATHを通す
$ export PATH=/opt/local/bin:$PATH $ echo $PATH /opt/local/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11/bin~/.bashrc にも同じように書いておく
4. git をいれる
$ sudo port install git-core
5. ruby19 をいれる (+nosuffixで)
$ sudo port install ruby19 +nosuffix
6. gemのライブラリをいれる
$ sudo gem install --no-ri --no-rdoc oauth ruby-hmac
7. git でTwiProwl を取り寄せる
$ mkdir ~/github $ cd ~/github $ git clone http://github.com/takuo/TwiProwl
8. config.yml を ~/.twiprowl.conf としてコピーし、~/.twiprowl.confをエディタで編集する
$ cd TwiProwl $ cp config.yml ~/.twiprowl.conf
編集内容は APIKeyとUserのあたりを適切に。
CAFile: のコメントアウトを外す
CAFile: /opt/local/share/curl/curl-ca-bundle.crt
9. 実行してみる
$ ./twiprowl
No comments:
Post a Comment