Twitter Growl notify
ツイートを Growl で通知する。
準備
-
rbenv で Ruby 2.3.5 をインストールする。
$ rbenv install 2.3.5
-
リポジトリをクローンする。
$ git clone git@github.com:halringo/twitter-growl-notify.git $ cd twitter-growl-notify -
Bundler をインストールする。
$ gem install bundler
-
bundle installを実行する。$ bundle install --path vendor/bundle
-
Twitter の Application Management でアプリケーションを登録する。
-
登録したアプリケーションの Consumer Key や Access Token を secret.yml に書く。
実行
$ bundle exec ruby streaming.rbRuboCop
$ bundle exec rubocop