mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Use bundle exec
for docker_dev rake
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
PARAMS="$@"
|
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"
|
docker exec -it -u discourse:discourse discourse_dev /bin/bash -c "$CMD"
|
||||||
|
Reference in New Issue
Block a user