redmine: support arch-dependent gem dependencies in update.sh

Method inspired by the update script for `discourse` in nixpkgs.

+3 -1
+3 -1
pkgs/applications/version-management/redmine/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #!nix-shell --pure -i bash -p cacert bundix 3 4 # Do these steps before running this script: 5 # 1. Copy Gemfile from new Redmine version to this folder ··· 14 fi 15 done 16 17 bundix -l
··· 1 #!/usr/bin/env nix-shell 2 + #!nix-shell --pure -i bash -p cacert bundix bundler 3 4 # Do these steps before running this script: 5 # 1. Copy Gemfile from new Redmine version to this folder ··· 14 fi 15 done 16 17 + bundle lock --add-platform ruby 18 + bundle lock --remove-platform x86_64-linux 19 bundix -l