diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2011-06-11 21:31:45 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-06-11 21:31:45 +0530 |
commit | db027aa47e94d125be029ca72e21b44e6a937ee1 (patch) | |
tree | 7b0655d34be3e154000db0535a9faf13cd3328a5 /railties/guides | |
parent | 53a9849551f64f0c60fe10a2037268eea9b46341 (diff) | |
download | rails-db027aa47e94d125be029ca72e21b44e6a937ee1.tar.gz rails-db027aa47e94d125be029ca72e21b44e6a937ee1.tar.bz2 rails-db027aa47e94d125be029ca72e21b44e6a937ee1.zip |
minor changes in templates guide
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/rails_application_templates.textile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/railties/guides/source/rails_application_templates.textile b/railties/guides/source/rails_application_templates.textile index 388d8eea3e..3db47a70e8 100644 --- a/railties/guides/source/rails_application_templates.textile +++ b/railties/guides/source/rails_application_templates.textile @@ -1,6 +1,6 @@ h2. Rails Application Templates -Application templates are simple ruby files containing DSL for adding plugins/gems/initializers etc. to your freshly created Rails project or an existing Rails project. +Application templates are simple Ruby files containing DSL for adding plugins/gems/initializers etc. to your freshly created Rails project or an existing Rails project. By referring to this guide, you will be able to: @@ -58,14 +58,12 @@ gem "bj" gem "nokogiri" </ruby> -Please note that this will NOT install the gems for you. So you may want to run the +rake gems:install+ task too: +Please note that this will NOT install the gems for you and you will have to run +bundle install+ to do that. <ruby> -rake "gems:install" +bundle install </ruby> -And let Rails take care of installing the required gems if they’re not already installed. - h4. add_source(source, options = {}) Adds the given source to the generated application's +Gemfile+. @@ -229,7 +227,7 @@ rake("rails:freeze:gems") if yes?("Freeze rails gems ?") no?(question) acts just the opposite. </ruby> -h4. git(:must => "-a love") +h4. git(:command) Rails templates let you run any git command: |