2012年2月6日月曜日

Windowsでthinを使う

Windowsでthinを使う

今回セミナーでthinを使用したところ、Windows使用の方々が全員エラーになったので
ここにメモをしておく。
環境は「Rails3.2.1」、「Ruby 1.9.3」

Gemfileを以下のように修正


gem 'thin'
gem 'eventmachine', '1.0.0.beta.4.1'

とし、

$ bundle install

=> Booting Thin
=> Rails 3.2.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop

できました!!

0 件のコメント:

コメントを投稿