Skip to content

Instantly share code, notes, and snippets.

@hurricup
Created February 3, 2025 07:50
Show Gist options
  • Save hurricup/5f908f504c3f3df28b995a50bc816ca8 to your computer and use it in GitHub Desktop.
Save hurricup/5f908f504c3f3df28b995a50bc816ca8 to your computer and use it in GitHub Desktop.
Testing gem compilation in different versions of ruby
#!/usr/bin/bash -e
declare -a versions=(
"ruby-3.3.6"
"ruby-3.2.6"
"ruby-3.1.6"
"ruby-3.0.7"
"ruby-2.7.8"
"ruby-2.6.10"
"ruby-2.5.9"
"ruby-2.4.10"
"ruby-2.3.8"
)
for version in "${versions[@]}"
do
echo Testing $version
rvm $version do bundle install && rake lib
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment