Gemrat is now better thanks to @shime, @mivanek, @bloudermilk, and @timmow.

Version 0.3.0 introduces some new features:

1. Multiple Gem Support

$ gemrat rspec capybara sidekiq

#=> gem 'rspec', '2.13.0' added to your Gemfile.
#=> gem 'capybara', '2.1.0' added to your Gemfile.
#=> gem 'sidekiq', '2.12.4' added to your Gemfile.
#=> Bundling...

2. Usage (Help)

$ gemrat --help OR gemrat -h

Gemrat

Add gems to Gemfile from the command line.

Usage: gemrat [GEM_NAME] [OPTIONS]

Options:

  -g [--gemfile]  # Specify the Gemfile to be used. Defaults to 'Gemfile'.
  -h [--help]     # Print these usage instructions.

3. Gem not found - Error Handling

$ gemrat im_not_real

Unable to find gem 'im_not_real' on Rubygems. Sorry about that.

Thanks to Ruby Weekly and the reddit/ruby community for introducing gemrat to developers.

Comments