Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kgrz/gem-springclean
- Owner: kgrz
- License: mit
- Created: 2014-01-05T17:56:18.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-05T17:58:03.000Z (about 11 years ago)
- Last Synced: 2023-03-12T07:18:48.714Z (almost 2 years ago)
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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