You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
215 B

#!/usr/bin/env bash
set -e
eval "$(bin/load-rbenv "$1")"
BASE_DIR="$(dirname "$(dirname "$0")")"
shift
LD_PRELOAD="$BASE_DIR/build/libfake.so" LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$BASE_DIR/build/" \
exec rspec "$@"