Differences
This shows you the differences between two versions of the page.
— |
rails [2012/08/03 12:11] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== rails ====== | ||
+ | * [[ruby]] | ||
+ | |||
+ | You can install rails using gem: | ||
+ | |||
+ | <code> | ||
+ | gem install rails | ||
+ | </code> | ||
+ | |||
+ | It may take a second to load. | ||
+ | |||
+ | Setup a new rails environment: | ||
+ | |||
+ | <code> | ||
+ | rails new path/to/your/new/application | ||
+ | cd path/to/your/new/application | ||
+ | rails server | ||
+ | </code> | ||
+ | |||
+ | Visit ''http://localhost:3000'' to see your installation. |