Skip to content

Commit f32bc01

Browse files
Merge pull request #1010 from cloudfoundry/ruby-check-polish
Update Ruby check for cflinuxfs4 stack
2 parents 5304c8c + 4d78e6f commit f32bc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function main() {
9494
phase="$(basename "${0}")"
9595

9696
if [[ "${CF_STACK:-}" == "cflinuxfs4" ]]; then
97-
if [[ ! -e "${RUBY_DIR}" ]]; then
97+
if ! which ruby > /dev/null; then
9898
mkdir -p "${RUBY_DIR}"
9999

100100
util::install

0 commit comments

Comments
 (0)