1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

#add_source: Fixed docco + added required newline to line added to Gemfile

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Dr Nic Williams 2010-02-22 22:43:54 +10:00 committed by José Valim
parent bf9a0ae12b
commit b56b9ee7d6

View file

@ -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