Skip to content

Instantly share code, notes, and snippets.

@tigawa
Created September 10, 2014 16:29
Show Gist options
  • Save tigawa/012b4720eda3885d91b4 to your computer and use it in GitHub Desktop.
Save tigawa/012b4720eda3885d91b4 to your computer and use it in GitHub Desktop.
heroku woker起動
#ProcfileをRoot直下に作成
worker: bundle exec ruby lib/eventmachine/twitter_stream.rb
#Herokuへデプロイ
heroku create test-app
git add -A
git commit -m "first commit."
git push heroku master
#workerプロセス起動
heroku scale web=0
heroku scale worker=1
http://morizyun.github.io/blog/rails4-with-eventmachine/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment