method

gem

gem(name, options = {})
public

Rails 3, by default, uses bundler, which shims the Kernel#gem method so that it should behave correctly for this deprecation.