gem install thin

来源:互联网 发布:asp源码 自助建站 编辑:程序博客网 时间:2024/05/22 04:27


a

First, install the DevKit from the RubyInstaller for Windows website (which it appears you have already done).


Then install eventmachine separately from the git repository as Roger shows.


> gem install specific_install


#EventMachine是一个基于Reactor设计模式的、用于网络编程和并发编程的事件驱动框架。
> gem specific_install -l http://github.com/eventmachine/eventmachine.git


> gem install thin


> thin start
Using rack adapter
Thin web server (v1.2.7 codename No Hup)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop


=begin
ps:Mongrel
Mongrel是一种快速的针对Ruby的Http 服务器,专门为部署发布rails应用 ... Mongrel相比Rails自带的纯Ruby服务器Webrick速度快很多并支持并发
=end


------Nginx结合Thin或Mongrels做ROR服务器--------------

http://rubyer.me/blog/744


a




a





a




a

原创粉丝点击