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

support for DISCOURSE_ADDITIONAL_GEMS: bugfix

parent bdec532e
No related branches found
No related tags found
1 merge request!6Support for DISCOURSE_ADDITIONAL_GEMS
......@@ -51,11 +51,10 @@ RUN git clone --branch v${DISCOURSE_VERSION} https://github.com/discourse/discou
# this expects a space-separated list of gem names
ARG DISCOURSE_ADDITIONAL_GEMS=
RUN if [ "$DISCOURSE_ADDITIONAL_GEMS" != "" ]; then \
echo >> Gemfile \
echo '### DISCOURSE_ADDITIONAL_GEMS' >> Gemfile \
echo >> Gemfile ; \
echo '### DISCOURSE_ADDITIONAL_GEMS' >> Gemfile ; \
for GEM_NAME in $DISCOURSE_ADDITIONAL_GEMS; do \
# add the gem to the Gemfile
echo "gem \"$GEM_NAME\"" >> Gemfile; \
echo "gem \"$GEM_NAME\"" >> Gemfile ; \
done; \
fi
......
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