1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p bundix zlib libyaml
4 set -o errexit
-o nounset
6 script_dir
=$
(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev
/null
&& pwd)
8 for directory
in "basic" "full"; do
9 pushd "$script_dir/$directory"
10 rm -f Gemfile.lock gemset.nix
11 BUNDLE_FORCE_RUBY_PLATFORM
=true bundix
--magic