18657: Still need to use bundle exec rake??? Fix binstubs/passenger
[arvados.git] / tools / arvbox / lib / arvbox / docker / api-setup.sh
index 9bc8ac076d89cf60bb777af7206f329bf52273f6..4af0cca0ed51ccade4f03353d3be450949029542 100755 (executable)
@@ -56,7 +56,7 @@ EOF
 fi
 
 if ! test -f $ARVADOS_CONTAINER_PATH/api_database_setup ; then
-   bin/rake db:setup
+   bin/bundle exec rake db:setup
    touch $ARVADOS_CONTAINER_PATH/api_database_setup
 fi
 
@@ -68,4 +68,4 @@ fi
 rm -rf tmp
 mkdir -p tmp/cache
 
-bin/rake db:migrate
+bin/bundle exec rake db:migrate