Skip to content

Commit ecd9947

Browse files
committed
Parse output better
1 parent c964797 commit ecd9947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/travis-before-install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd "$DIR"
99
DESIRED_BUNDLER_VERSION=$(grep "add_development_dependency 'bundler'" octocatalog-diff.gemspec | cut -d"'" -f4)
1010
gem install bundler -v "$DESIRED_BUNDLER_VERSION"
1111

12-
BUNDLER_VERSIONS=$(gem list bundler | grep ^bundler | cut -d'(' -f2 | cut -d')' -f1 | tr "," " ")
12+
BUNDLER_VERSIONS=$(gem list bundler | grep ^bundler | cut -d'(' -f2 | cut -d')' -f1 | tr "," " " | grep -v "default")
1313
for v in $BUNDLER_VERSIONS; do
1414
if [ "$v" != "$DESIRED_BUNDLER_VERSION" ]; then gem uninstall bundler --force -v "$v"; fi
1515
done

0 commit comments

Comments
 (0)