Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Created October 18, 2022 13:24
Show Gist options
  • Save etagwerker/6c0473839b5e781afb00ab86bb26bbc5 to your computer and use it in GitHub Desktop.
Save etagwerker/6c0473839b5e781afb00ab86bb26bbc5 to your computer and use it in GitHub Desktop.
Example of using next_rails just for a Ruby dual boot
# Gemfile
def next?
File.basename(__FILE__) == Gemfile.next
end
if next?
ruby "3.1.1"
else
ruby "3.0.1"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment