From 058cde1fc552e39ff97a5a20795622f2e062538b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 16 May 2017 17:18:45 +0100 Subject: [PATCH] Use `bundle exec` for docker_dev rake --- bin/docker/rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker/rake b/bin/docker/rake index d70b45d7659..146a824bb27 100755 --- a/bin/docker/rake +++ b/bin/docker/rake @@ -1,5 +1,5 @@ #!/bin/bash PARAMS="$@" -CMD="cd /src && RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 LD_PRELOAD=/usr/lib/libjemalloc.so RAILS_ENV=${RAILS_ENV:=development} rake $PARAMS" +CMD="cd /src && RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 LD_PRELOAD=/usr/lib/libjemalloc.so RAILS_ENV=${RAILS_ENV:=development} bundle exec rake $PARAMS" docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"