No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Add the latest version of a gem to your Gemfile from the command line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Gemrat

Add the latest version of a gem to your Gemfile from the command line.

  • No need to search RubyGems for version numbers
  • No need to edit your Gemfile directly
  • Gemrat bundles automatically

Usage

Add the latest version of a gem to your Gemfile and bundle

$ gemrat gem_name

Add the latest version of sinatra to your Gemfile and bundle

$ gemrat sinatra

#=> gem 'sinatra', '1.4.3' added to your Gemfile.
#=> Bundling...

Add multiple gems

$ 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...

Get help

$ gemrat

Gemrat

Add gems to Gemfile from the command line.

Usage: gemrat [GEM_NAME] [OPTIONS]

Options:

    -g, --gemfile GEMFILE            # Specify the Gemfile to be used, defaults to 'Gemfile'
        --no-install                 # Skip executing bundle after adding the gem.
        --no-version                 # Do not add a version to the gemfile.
    -p, --pessimistic                # Add gem with a pessimistic operator (~>)
    -o, --optimistic                 # Add gem with an optimistic operator (>=)
    -v, --version                    # Show current gemrat version.
    -h, --help                       # Print these usage instructions.

gemrat

Installation

Add this line to your application's Gemfile:

gem 'gemrat'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gemrat

Development

Run the entire test suite with:

$ rake

We encourage you to run

$ guard

in development, because it's awesome!