Project

bun

0.01
No commit activity in last 3 years
No release in over 3 years
CLI tool to install and remove gems from Gemfile with ease.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.11
~> 10.0
~> 3.7

Runtime

~> 1.16
~> 2.0
 Project Readme

Bun

Build Status

Bundler's little helper. A missing CLI tool to install and remove gems from Gemfile with ease.

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

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

License

MIT