Bundler gets reinstalled on every cd ariadne
darkoantic opened this issue · 1 comments
darkoantic commented
Right now when you
cd ariadne
you get the following:
Using /Users/dantic/.rvm/gems/ruby-1.9.3-p194 with gemset ariadne
Running /Users/dantic/.rvm/hooks/after_use
Installing Bundler via Rubygems...
Successfully installed bundler-1.1.4
1 gem installed
This is due to the code in ariadne / .rvmrc
BUNDLER_VERS="1.1.4"
...
# Install bundler gem if not yet available
# (Our bundler version should be the latest version)
bundle -v | grep "$BUNDLER_VERS" > /dev/null
if [ "$?" -ne "0" ] ; then
echo "Installing Bundler via Rubygems..."
gem install bundler -v $BUNDLER_VERS --no-rdoc --no-ri
fi
as for either newer or older version the last foreground-pipeline will be 0