摘要: 1.安装thingem install thin他会需要一下gem支持rack-0.9.1eventmachine-0.12.6daemons-1.0.10thin-1.0.0当然,他会自动安装的。2.启动和停止thin在rails项目的根目录下执行thin start -d加-d是让他能在后台运行,不加,我们停止thin的时候可以直接使用 ctrl + c。追加 “-e production”表示在生产环境下运行,追加"-p 3003"指定端口,在此指定的是3003端口thin stop停止thin3.Clusterthin start --servers 3thin s 阅读全文
posted @ 2012-04-12 11:02 Fcicada · Sunny 阅读(1696) 评论(0) 推荐(0) 编辑