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=GemfilelikeBUNDLE_GEMFILE=Gemfile bundle install - Prefix command with
rbenv defaultgemfilelikerbenv defaultgemfile bundle install
BUNDLE_GEMFILE
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