Written in front:
The first time, write serial Ah, hope to oneself and you reader a little help, understand a little bit rubyonrails development on the situation. Can help a little, that is the reason to insist. ^_^
Encyclopedia of Life: www.eol.org
The website is based on ROR, the content is to do interactive Life Encyclopedia Museum, this article mainly introduces, if through this website provides the code, establishes the ROR website, and learns, this website uses some, ror most common technology.
The resource address is as follows, anonymous svn download.
svn://repository.eol.org/eol/trunk/
Configuration Prerequisites
Install Ruby
Rails and MySQL are the most popular requirements.
Secondly
Install Gems Package
The list is as follows:
1. Zentest
2. Ruby-debug
3. Piston
4. Hpricot
In fact, these packages are all integrated under the gems of the vendor. It's a pretty shiny way to do it. Treat gem like treat plugin, do not gems put under vendor Gems
The installation is as follows:
Ruby Code
Rake Gems # This could give for you some errors
... Rake Gems:build # If there are gems that aren ' t installed or your got that big error ...
Rake Gems:install # If there were gems that are still missing ...
Configuration database
Copy config/database.yml
Configure the demo development and Master_database databases as needed