Rails世界:网络服务器pow管理工具Powder
由Gudao Luo在2011-05-27 at 00:45发表的

- 道君评论
- Powder使得我们使用pow更加容易;
- 只要在当前Rails程序根目录下执行命令”powder“,就可以把该应用程序纳入到pow之中;
- 只要在当前Rails程序根目录下执行命令"powder open",就可以在浏览器中打开该应用程序;
- Powder更多命令可以查看 这里 ;
- 从本质上说,Powder只是为pow穿上一件更加漂亮的外衣;
Rails3世界:使用另外的网络服务器Unicorn(四)
由Gudao Luo在2010-02-13 at 23:54发表的

- 说明
- Unicorn网站写到: “… Process management: Unicorn will reap and restart workers that die from broken apps.”
- 最重要的是因为存在$RAILS_ROOT/config.ru文件。
- 同样适用于Rails3类似于Unicorn的网络服务器 rainbows http://github.com/darkhelmet/rainbows
- 使用命令
- 参考资料
- http://cmelbye.github.com/2009/10/04/thin-vs-unicorn.html
- http://unicorn.bogomips.org/
- http://unicorn.bogomips.org/Unicorn.html
- http://adventuresincoding.com/2010/02/riding-ruby-on-rails-3-bundler/
- Everything You Need to Know About Unicorn
- https://github.com/defunkt/unicorn
- https://github.com/blog/517-unicorn
- http://sirupsen.com/setting-up-unicorn-with-nginx/
- 系列全部内容
- Rails3世界:安装Ruby1.8.7(一甲) http://www.lycom.de/past/2010/2/7/2010-02-07-rvm-ruby187/
- Rails3世界:安装Ruby1.9.1(一乙) http://www.lycom.de/past/2010/2/6/2010-02-07-rvm-ruby191/
- Rails3世界:安装Rails3.0pre版本(二) http://www.lycom.de/past/2010/2/8/2010-02-07-rails3-pre/
- Rails3世界:使用软件包管理工具Bundler(三) http://www.lycom.de/past/2010/2/10/2010-02-10-bundler/
- Rails3世界:使用另外的网络服务器Unicorn(四) http://www.lycom.de/past/2010/2/13/2010-02-14-unicorn/
- Rails3世界:使用新的命令rails(五) http://www.lycom.de/past/2010/2/17/2010-02-17-rails-command/
- Rails3世界:使用抽象持久层Arel(六) http://www.lycom.de/past/2010/2/18/2010-02-18-arel/
实现自己Ruby应用软件框架的工具Rack
由Gudao Luo在2007-05-28 at 21:15发表的
实现自己Ruby应用软件框架的工具Rack
- Rack网站说明:
- Rack provides an minimal interface between webservers supporting Ruby and Ruby frameworks.
- 使用方法:
- 安装Rack:
- gem install rack
- 运行代码实例一
- 下载:http://www.hhtong.com/blog1/files/app_rack.rb
- 执行 ruby app_rack.rb
- 打开浏览器
- 输入网址:http://localhost:4000/
- 运行代码实例二
- http://www.hhtong.com/blog1/files/app_auth_rack.rb
- 执行 ruby app_auth_rack.rb
- 打开浏览器
- 输入网址:http://localhost:4000/
- 输入密码:secret
- 安装Rack:
