タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

unicornに関するkjirouuのブックマーク (1)

  • [再起動など] Unicorn | Rails3

    インストール rails server で起動するデフォルトのサーバは WEBrick で実用レベルではありません。代わりに Unicorn を利用します。 # gem パッケージに含まれていなければ追加します % vi Gemfile ... gem 'unicorn' % bundle update 設定 config/unicorn.rb として設定ファイルを作成します。 worker_processes 2 stderr_path File.expand_path('../../log/unicorn/stderr.log', __FILE__) stdout_path File.expand_path('../../log/unicorn/stdout.log', __FILE__) pid File.expand_path('../../log/unicorn/unicorn.

    kjirouu
    kjirouu 2013/10/31
    "bundle exec unicorn_rails -c config/unicorn.rb -p 8080 [-D]" -c=設定ファイルパス / -p=ポート / -D=デーモンにするか否か
  • 1