Use BUNDLE_FORCE_RUBY_PLATFORM=1 + further update.sh improvements

+6 -4
+6 -4
pkgs/applications/editors/jupyter-kernels/iruby/update.sh
··· 1 - #!/usr/bin/env bash 1 + #! /usr/bin/env nix-shell 2 + #! nix-shell -i bash -p curl jq bundler bundix ruby 2 3 3 4 set -eu -o pipefail 4 5 ··· 7 8 # Update Gemfile with the latest iruby version 8 9 echo "source 'https://rubygems.org'" > Gemfile 9 10 echo -n "gem 'iruby', " >> Gemfile 10 - nix shell .#curl -c curl https://rubygems.org/api/v1/gems/iruby.json | nix shell .#jq -c jq .version >> Gemfile 11 + curl https://rubygems.org/api/v1/gems/iruby.json | jq .version >> Gemfile 11 12 12 13 # Regenerate Gemfile.lock 13 - nix shell .#bundler -c bundle lock 14 + export BUNDLE_FORCE_RUBY_PLATFORM=1 15 + bundle lock 14 16 15 17 # Regenerate gemset.nix 16 - nix shell .#bundix -c bundix -l 18 + bundix -l