method
add_source
v5.2.3 -
Show latest stable
- Class:
Rails::Generators::Actions
add_source(source, options = {}, &block)public
Add the given source to Gemfile
If block is given, gem entries in block are wrapped into the source group.
add_source "http://gems.github.com/" add_source "http://gems.github.com/" do gem "rspec-rails" end