Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kgrz/gem-springclean

Uninstall gems on your system based on a Gemfile.lock
https://github.com/kgrz/gem-springclean

Last synced: about 2 months ago
JSON representation

Uninstall gems on your system based on a Gemfile.lock

Awesome Lists containing this project

README

        

# Gem::Springclean

Supply a Gemfile or a Gemfile.lock and cleanup all the unwanted ones.

## Installation

Add this line to your application's Gemfile:

gem 'gem-springclean'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gem-springclean

## Usage

After installation, run the command:

$ gem help springclean

To use the command, you can pass in two options: `--exclude` and `--include`

### --exclude
The `--exclude` parameter uninstalls all the gems on the system except the
ones provided in the Gemfile.lock.

### --only
The `--only` parameter uninstalls all the gems that are only in the Gemfile.lock.
Rest of the gems are untouched.

## Contributing

1. Fork it ( http://github.com//gem-springclean/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request