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:
parent
bf9a0ae12b
commit
b56b9ee7d6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue