gem(*args) public

Adds an entry into Gemfile for the supplied gem. If env is specified, add the gem to the given environment.

Example

gem "rspec", :group => :test
gem "technoweenie-restful-authentication", :lib => "restful-authentication", :source => "http://gems.github.com/"
gem "rails", "3.0", :git => "git://github.com/rails/rails"
Show source
Register or log in to add new notes.