Created
February 25, 2015 22:06
-
-
Save dholdren/f8917ceaaba2bba93340 to your computer and use it in GitHub Desktop.
persistent local config of custom gemfile name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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