#!/bin/bash if [[ "$1" == *.rb ]] then bundle exec ruby "$@" else bundle exec "$@" fi