This file contains hidden or 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
#!/usr/bin/env bash | |
# vim: ft=bash | |
# | |
# © 2025 Konstantin Gredeskoul <kig AT kig.re> | |
# All rights reserved. | |
# MIT License. | |
# | |
# This script uses rbenv/ruby-build to install Ruby on OS-X or Linux. It configures | |
# Ruby build flags in such a way to ensure Ruby is linked with libjemalloc (which | |
# reduces the memory by half) and YJIT enabled. It has been tested on both Linux and |
This file contains hidden or 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
#!/usr/bin/env bash | |
# Usage: setup-git-bundler-merge-driver | |
# Help: Configures git to use a custom merge driver to resolve Gemfile.lock | |
# merge conflicts. | |
if [ ! -f Gemfile ]; then | |
echo 'No `Gemfile` found! Aborting' | |
exit 1 | |
fi |