Skip to content

Instantly share code, notes, and snippets.

@kigster
Last active October 29, 2024 19:36
Show Gist options
  • Save kigster/7a6b7c68f9ac73f8811da373243a5969 to your computer and use it in GitHub Desktop.
Save kigster/7a6b7c68f9ac73f8811da373243a5969 to your computer and use it in GitHub Desktop.
Ruby Installer via RBENV on Linux & Mac OS-X (with jemalloc & yjit enabled)
#!/usr/bin/env bash
# vim: ft=bash
#
# This Gist is about installing any version of Ruby using rbenv on Linux or MacOS
# with Jemalloc and YJIT enabled.
#
# To install a ruby run the following command (this will install the ruby version
# defined in the .ruby-version file in the current directory)
#
# curl -fsSL https://bit.ly/rb-rbenv-install | bash
#
# To install a ruby version not defined in the .ruby-version file, you can use the
# following syntax:
#
# curl -fsSL https://bit.ly/rb-rbenv-install | bash -s 3.3.5
#
curl -fsSL https://bit.ly/rb-rbenv-install | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment