18657: Don't install api & wb binstubs into bin/
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / api / run-service
index c949bffa7c34c8142cf0a057b42e759a938ddcef..9b6976d806915517704aa6dcf633dbf3f69efb2b 100755 (executable)
@@ -16,9 +16,9 @@ else
   export RAILS_ENV=development
 fi
 
-run_bundler --without=development
-flock $GEM_HOME/gems.lock bin/bundle exec passenger-config build-native-support
-flock $GEM_HOME/gems.lock bin/bundle exec 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
@@ -33,4 +33,4 @@ fi
 
 touch $ARVADOS_CONTAINER_PATH/api.ready
 
-exec bin/bundle exec passenger start --port=${services[api]}
+exec bin/passenger start --port=${services[api]}