1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Fix installation of Heroku when using Homebrew

This commit is contained in:
Craig Buchek 2019-06-23 15:12:22 -05:00 committed by Elliot Winkler
parent 00e9159506
commit 892a912c67

View file

@ -61,13 +61,13 @@ install() {
for arg in "$@"; do
case $arg in
apt=*)
apt_package="$arg"
apt_package="${arg#apt=}"
;;
rpm=*)
rpm_package="$arg"
rpm_package="${arg#rpm=}"
;;
brew=*)
brew_package="$arg"
brew_package="${arg#brew=}"
;;
*)
default_package="$arg"
@ -152,7 +152,7 @@ install-dependencies() {
if ! has-executable heroku; then
banner 'Installing Heroku'
install heroku/brew/heroku heroku
install brew=heroku/brew/heroku heroku
fi
if has-executable rbenv; then