Revision 5096e8a9ac03848fbcf4adc01cac11714428b025 authored by Delson Lima on 12 April 2018, 18:24:55 UTC, committed by jekyllbot on 12 April 2018, 18:24:55 UTC
1 parent c9346ef
Raw File
rubies
#!/bin/bash
# -----------------------------------------------------------------------------
# If you send us a ruby then we use that, if you do not then we test with
# whatever we can detect, this way you can run both suites when you test out
# your source, we expect full coverage now, not just MRI.
# -----------------------------------------------------------------------------

rubies=()
for r in ruby jruby; do
  if which "$r" > /dev/null 2>&1
  then
    echo $r
  fi
done
back to top