Skip to content
Snippets Groups Projects
Commit bbd10aae authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

support for DISCOURSE_ADDITIONAL_GEMS: properly handling bundle deployment vs....

support for DISCOURSE_ADDITIONAL_GEMS: properly handling bundle deployment vs. DISCOURSE_ADDITIONAL_GEMS
parent 76f559f2
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,12 @@ RUN if [ "$DISCOURSE_ADDITIONAL_GEMS" != "" ]; then \
fi
# run bundler
#RUN bundle install --deployment --without test --without development
RUN bundle install --without test --without development
# deployment mode if no new gems added, normal mode otherwise
RUN if [ "$DISCOURSE_ADDITIONAL_GEMS" != "" ]; then \
bundle install --without test --without development; \
else \
bundle install --deployment --without test --without development; \
fi
# install discourse plugins
# assumptions: no spaces in URLs (urlencoding is a thing)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment