18657: Fix passenger-config not found by installing binstub & using that
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / api / run-service
index c949bffa7c34c8142cf0a057b42e759a938ddcef..ad18e3cc8d79af7a686eb9c1935d146c8be3ff11 100755 (executable)
@@ -17,8 +17,8 @@ else
 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
+flock $GEM_HOME/gems.lock bin/passenger-config build-native-support
+flock $GEM_HOME/gems.lock bin/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]}