#!/usr/bin/env bash

if
  [[ -s "/home/rael/.rvm/gems/ruby-2.5.3@global/environment" ]]
then
  source "/home/rael/.rvm/gems/ruby-2.5.3@global/environment"
  exec bundle "$@"
else
  echo "ERROR: Missing RVM environment file: '/home/rael/.rvm/gems/ruby-2.5.3@global/environment'" >&2
  exit 1
fi
