Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.
/ rbenv-mygemfile Public archive

Tiny rbenv plugin which sets `BUNDLE_GEMFILE` to `Mygemfile` if file exists

Notifications You must be signed in to change notification settings

xing/rbenv-mygemfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Tiny rbenv plugin which sets BUNDLE_GEMFILE to Mygemfile if file exists, so you can have your own changes in gemfile without messing with default Gemfile.lock.

Example Mygemfile:

eval File.read('Gemfile')

gem 'pry'

If you want to use default Gemfile

  • Prefix command with BUNDLE_GEMFILE=Gemfile like BUNDLE_GEMFILE=Gemfile bundle install
  • Prefix command with rbenv defaultgemfile like rbenv defaultgemfile bundle install

BUNDLE_GEMFILE

Installation

Simply clone the repository into the plugins directory:

mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/xing/rbenv-mygemfile.git "$(rbenv root)"/plugins/rbenv-mygemfile

About

Tiny rbenv plugin which sets `BUNDLE_GEMFILE` to `Mygemfile` if file exists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages