redmine: support arch-dependent gem dependencies in update.sh
Method inspired by the update script for `discourse` in nixpkgs.
This commit is contained in:
parent
2da64a8127
commit
ec13e46dd1
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell --pure -i bash -p cacert bundix
|
||||
#!nix-shell --pure -i bash -p cacert bundix bundler
|
||||
|
||||
# Do these steps before running this script:
|
||||
# 1. Copy Gemfile from new Redmine version to this folder
|
||||
|
@ -14,4 +14,6 @@ for file in "gemset.nix" "Gemfile.lock"; do
|
|||
fi
|
||||
done
|
||||
|
||||
bundle lock --add-platform ruby
|
||||
bundle lock --remove-platform x86_64-linux
|
||||
bundix -l
|
||||
|
|
Loading…
Reference in a new issue