diff options
author | Dr Nic Williams <drnicwilliams@gmail.com> | 2010-02-22 22:43:54 +1000 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-26 11:11:35 +0100 |
commit | b56b9ee7d6807d8ea9e1575afb7a28e89980b348 (patch) | |
tree | 0363af394146c476ba9f77151f8b3781e5a25e9f /railties/lib/rails/generators/actions.rb | |
parent | bf9a0ae12b701cba7a8aac2955ce243866ac7bf6 (diff) | |
download | rails-b56b9ee7d6807d8ea9e1575afb7a28e89980b348.tar.gz rails-b56b9ee7d6807d8ea9e1575afb7a28e89980b348.tar.bz2 rails-b56b9ee7d6807d8ea9e1575afb7a28e89980b348.zip |
#add_source: Fixed docco + added required newline to line added to Gemfile
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/lib/rails/generators/actions.rb')
-rw-r--r-- | railties/lib/rails/generators/actions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb index e39fa3ff11..7dec4d446a 100644 --- a/railties/lib/rails/generators/actions.rb +++ b/railties/lib/rails/generators/actions.rb @@ -89,12 +89,12 @@ module Rails # # ==== Example # - # source "http://gems.github.com/" + # add_source "http://gems.github.com/" def add_source(source, options={}) log :source, source in_root do - prepend_file "Gemfile", "source #{source.inspect}", :verbose => false + prepend_file "Gemfile", "source #{source.inspect}\n", :verbose => false end end |