Skip to content

Commit

Permalink
[dist] Add :production group to find_requires script
Browse files Browse the repository at this point in the history
otherwise frontend will not start because of missing dependencies.
  • Loading branch information
ChrisBr committed Apr 19, 2017
1 parent 8b86042 commit 66e2f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/find-requires.sh
Expand Up @@ -17,7 +17,7 @@ ruby.ruby2.4 -rbundler -e 'exit' || echo "___ERROR_BUNDLER_NOT_INSTALLED___"

mode="resolve"
if [ "$limit" == "production" ]; then
mode="specs_for([:default, :assets])"
mode="specs_for([:default, :production, :assets])"
fi

ruby.ruby2.4 -rbundler -e 'Bundler.definition.'"$mode"'.any? { |s| puts "rubygem('$prefix':#{s.name}) = #{s.version}" }' | while read i; do echo -n $i", "; done
Expand Down

0 comments on commit 66e2f05

Please sign in to comment.