File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- case $(uname -s) in
2- Linux)
3- install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-ubuntu-24.04.tar.gz" jruby
1+ platform="$(uname -s)-$(uname -m)"
2+ case $platform in
3+ Linux-x86_64)
4+ install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-ubuntu-24.04-x64.tar.gz" jruby
45 ;;
5- Darwin)
6- install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-macos-latest.tar.gz" jruby
6+ Linux-aarch64)
7+ install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-ubuntu-24.04-arm64.tar.gz" jruby
8+ ;;
9+ Darwin-x86_64)
10+ install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-darwin-x64.tar.gz" jruby
11+ ;;
12+ Darwin-arm64)
13+ install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-darwin-arm64.tar.gz" jruby
714 ;;
815*)
9- colorize 1 "Unsupported operating system : $(uname -s) "
16+ colorize 1 "Unsupported platform : $platform "
1017 return 1
1118 ;;
1219esac
You can’t perform that action at this time.
0 commit comments