set -ex
cd "$WORKSPACE/services/api"
export RAILS_ENV=test
- if "$bundle" exec rails db:environment:set ; then
- "$bundle" exec rake db:drop
+ if bin/rails db:environment:set ; then
+ bin/rake db:drop
fi
- "$bundle" exec rake db:setup
- "$bundle" exec rake db:fixtures:load
+ bin/rake db:setup
+ bin/rake db:fixtures:load
) || return 1
}
export RAILS_ENV=development
fi
-run_bundler --without=development --binstubs
-bin/passenger-config build-native-support
-bin/passenger-config install-standalone-runtime
+run_bundler --without=development --binstubs=binstubs
+binstubs/passenger-config build-native-support
+binstubs/passenger-config install-standalone-runtime
if test "$1" = "--only-deps" ; then
exit
fi
cd /usr/src/arvados/services/login-sync
-run_bundler --binstubs=$PWD/binstubs
+run_bundler --binstubs=binstubs
if test "$1" = "--only-deps" ; then
exit
export RAILS_ENV=development
fi
-run_bundler --without=development --binstubs
-bin/passenger-config build-native-support
-bin/passenger-config install-standalone-runtime
+run_bundler --without=development --binstubs=binstubs
+binstubs/passenger-config build-native-support
+binstubs/passenger-config install-standalone-runtime
mkdir -p /usr/src/arvados/apps/workbench/tmp
if test "$1" = "--only-deps" ; then