Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit b4d5523

Browse files
SaadYousafsaadyousafarbi
authored andcommitted
fix: fix deprecated arguments for bundle command
1 parent 1c242f9 commit b4d5523

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ services:
431431
ELASTICSEARCH_DSL: "http://edx.devstack.elasticsearch710:9200"
432432

433433
forum:
434-
command: bash -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install && while true; do ruby app.rb -o 0.0.0.0 ; sleep 2; done'
434+
command: bash -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install && while true; do ./bin/unicorn -c config/unicorn_tcp.rb -I .; sleep 2; done'
435435
container_name: "edx.${COMPOSE_PROJECT_NAME:-devstack}.forum"
436436
hostname: forum.devstack.edx
437437
depends_on:

provision-forum.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ set -eu -o pipefail
33
set -x
44

55
docker-compose up -d forum
6-
docker-compose exec -T forum bash -e -c 'source /edx/app/forum/ruby_env && cd /edx/app/forum/cs_comments_service && bundle install --deployment --path /edx/app/forum/.gem/'
6+
docker-compose exec -T forum bash -e -c 'source /edx/app/forum/ruby_env && source /edx/app/forum/devstack_forum_env && cd /edx/app/forum/cs_comments_service && bundle install --deployment --path /edx/app/forum/.gem/ && bin/rake search:initialize'

0 commit comments

Comments
 (0)