Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shime/bun
Bundler's little helper. A missing CLI tool to install and remove gems from Gemfile with ease.
https://github.com/shime/bun
bundler minimalistic ruby
Last synced: about 2 months ago
JSON representation
Bundler's little helper. A missing CLI tool to install and remove gems from Gemfile with ease.
- Host: GitHub
- URL: https://github.com/shime/bun
- Owner: shime
- License: mit
- Created: 2018-02-06T18:17:07.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-12T06:48:52.000Z (almost 6 years ago)
- Last Synced: 2024-10-31T20:23:59.372Z (2 months ago)
- Topics: bundler, minimalistic, ruby
- Language: Ruby
- Size: 37.1 KB
- Stars: 34
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Bun
[![Build Status](https://travis-ci.org/shime/bun.svg?branch=master)](https://travis-ci.org/shime/bun)
Bundler's little helper. A missing CLI tool to install and remove gems from Gemfile with ease.
![](https://twobucks.co/assets/bun-example-min.gif)
## Installation
```
$ gem install bun
```## Usage
Install RSpec:
```
$ bun add rspec
```Install specific version of RSpec
```
$ bun add rspec:3.7.0
```Install Pry in development group:
```
$ bun add pry --development
```Install RSpec and Cucumber in test group:
```
$ bun add rspec cucumber --test
```Uninstall RSpec:
```
$ bun remove rspec
```Uninstall Rails:
```
$ bun remove rails
```Install Cuba with strict version range:
```
$ bun add cuba --strict
```Add Sequel to the Gemfile and exit without installing it:
```
$ bun add sequel --skip-install
```Just print the gem name with the latest version found and exit:
```
$ bun add sequel --print
```More info:
```
$ bun --help
```# API
```ruby
require "bun"Bun.add("rspec:3.7.0") # adds RSpec to Gemfile and runs bundle install
Bun.remove("rspec") # removes RSpec from Gemfile
```## Prior art
* [Gemrat](https://github.com/drurly/gemrat)
## License
[MIT](/license)