add_source(source, options={})
Add the given source to Gemfile
add_source "http://gems.github.com/"
# File railties/lib/rails/generators/actions.rb, line 107 def add_source(source, options={}) log :source, source in_root do prepend_file "Gemfile", "source #{source.inspect}\n", :verbose => false end end