Glossary:
Ruby do not specifically introduce the concept of a word over the "A Japanese invention of object-oriented scripting language";
Rails 1 person R & D Denmark A good agreement, fixed model MVC framework.
webrick Ruby default http server;

webrick faster than Mongrel server;
YAML brief introduction: yaml Medium ruby are commonly used in the end the amount of configuration files. Java as commonly used in the same xml as configuration file.

Access to the subject, Ruby how to install?有啥Rubygems effect?
First talk about Rubygems, Rubygems are ruby package management tools. Easy to understand.
Installation Steps: 1, download the latest installation package ruby win:
( http://www.rubyonrails.org/down ) Ruby185-24.exe

(Using the 1.8.6 version was running at it seems to webrick. Mongrel server compatibility was not so good,

Appear This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information. Error)

So also uninstall 1.8.6 version 1.8.5 after the transposition;

2, run exe installation procedures are completed, run the command window: rbuy-v, show the version number that ruby installed successfully. Installation package has already included the randomly rubygems we can directly use the next gem install rails. (If you want to gem upgrade to the latest version of gem update system)
3. Through the package management tools online GEM install: command window, ruby installation directory run gem install rails - include-dependencies (if not, oh no direct Internet access, then download their own gem installation package to install it, no test, not chaos Say)
4. Command window to run rails-v show the version number of the instructions to install a success.

Remarks: rails 2.0 version of the default data after sqlite3,
sqlite3 installed by running gem install sqlite3-ruby install
mysql database installed by gem install mysql installation directory to mysql libmySQL.dll available to the system test to the ruby / bin under.

Create Project
1, rails first-ROR (to create a first-ROR project, the default database to sqlite3)
If you want to use mysql database, you can use the rails first-ROR-d mysql to create
2, switch to the ruby / first-ROR directory, run ruby script / server to start the project,
Http://localhost:3000 visit through the creation of projects.

[Added: In-depth study - small-scale test chopper]

ROR has been built Webrick standard server, but it opened at the speed of implementation of speed and convenience are lost Mongrel, so we have to use Mongrel replace Webrick as ROR of Web Server

Remote Installation

You can use the following command

(1) In DOS, enter the> gem install mongrel include-dependencies

You select the right system Mongrel, if you are windows os so here we must select the option <mswin32>, followed by the installation to do.

(2) gem install mongrel_service include-dependencies
Here you will be prompted to select Mongrel Service and Win32 Service, select the highest version of <mswin32> can

Start: ruby \ first-ROR> mongrel_rails start