gem(name, version, dependencies = nil, &block)
public
Creates a gem with
name, version and deps. The created gem can be downloaded
and installed.
The specification will be yielded before gem creation for
customization, but only the block or the dependencies may be set, not both.
# File lib/rubygems/test_utilities.rb, line 285
def gem name, version, dependencies = nil, &block
@operations << [:gem, name, version, dependencies, block]
end