Created
October 18, 2022 13:24
-
-
Save etagwerker/6c0473839b5e781afb00ab86bb26bbc5 to your computer and use it in GitHub Desktop.
Example of using next_rails just for a Ruby dual boot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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