18657: What if we get rid of setting GEM_HOME entirely
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / api / run-service
index c949bffa7c34c8142cf0a057b42e759a938ddcef..974ac9865217fb1ff2197b9cc767d8802ecf45cc 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
+bin/passenger-config build-native-support
+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]}