module Rails::Generators::Actions

def add_source(source, options={})

add_source "http://gems.github.com/"

==== Example

Add the given source to Gemfile
def add_source(source, options={})
  log :source, source
  in_root do
    prepend_file "Gemfile", "source #{source.inspect}\n", :verbose => false
  end
end