Skip to content

Instantly share code, notes, and snippets.

@dholdren
Created February 25, 2015 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dholdren/f8917ceaaba2bba93340 to your computer and use it in GitHub Desktop.
Save dholdren/f8917ceaaba2bba93340 to your computer and use it in GitHub Desktop.
persistent local config of custom gemfile name
mkdir -p ~/tmp/testapp
cd ~/tmp/testapp
echo "source 'https://rubygems.org'" >> Gemfile
echo "gem 'rake'" >> Gemfile
ln -sf Gemfile MyGemfile
bundle config --local gemfile ~/tmp/testapp/MyGemfile
bundle
ls
#.
#..
#.bundle
#Gemfile
#MyGemfile -> Gemfile
#MyGemfile.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment