Showing posts with label Setup. Show all posts
Showing posts with label Setup. Show all posts

Wednesday, March 07, 2007

Basic Mongrel operation

在Win32上安装Mongrel:
$ gem install win32-service (pick the most recent one)
$ gem install mongrel (pick the win32 pre-built)
$ gem install mongrel_service (Great to run Mongrel as a Windows service)

使用Mongrel运行一个application:
$ cd myrailsapp
$ mongrel_rails start

停止Mongrel运行:
$ mongrel_rails stop
在Windows Command下,用ctrl+c结束。

Tuesday, March 06, 2007

Setup Rails development environment on Windows

Go to http://www.rubyonrails.org/down.

1, Download and install Ruby. (Ruby Interpreter)
2, Download and setup RubyGems. (The standard Ruby package manager) Then you can use RubyGems to install Rails, Mongrel from Internet.