Logesh Paul
  • Welcome
  • About
  • 📖Wiki
    • Productivity
      • My Ultimate Self Guide - For Better Living
      • Finding your Passion, Purpose of Life
      • Great Techniques To Self Mastery
      • Better Yields Best
      • Who is Driving? You (or) Your Mind
      • Goals
      • My Workdesk (Sep 2024)
      • SublimeText Plugins  —  I Use
    • Code
      • Bash
      • Regex
      • Capybara
      • Chrome
      • CSS
      • Git
      • Mac
      • Atom
      • Ruby
      • Slack
      • Husky
      • Zsh
      • Javascript
      • Best Practices
      • What is debounce?
      • Rbenv
      • Brew
      • RVM
    • Design
      • Why do we need a design system?
    • Health
      • Facts about getting fit
      • TDS and its Role in Drinking Water
      • Gut
    • Mind
      • Behaviour
      • Evolving Brain
      • The Law of Wasted Effort
    • Personal
      • Vision and Values
      • Learning From My First Startup
    • Finance
      • 5 Finance Advices From The Ancient Richest City Of The World
      • Interim Dividend
      • Cash Reserve Ratio
      • Dematerialisation
Powered by GitBook
On this page
  1. Wiki
  2. Code

Rbenv

rbenv is a version manager tool for the Ruby programming language on Unix-like systems. It is useful for switching between multiple Ruby versions on the same machine and for ensuring that each project

Install via Homebrew

brew install rbenv ruby-build

View list of versions installed

rbenv versions

Set specific version

rbenv local <version-number> # eg. rbenv local 2.7.2

Uninstall version

rbenv uninstall <version-number> # eg. rbenv uninstall 2.7.2

Add the below code to ~/.zshrc to take Ruby using rbenv

eval "$(rbenv init - zsh)"

PreviousWhat is debounce?NextBrew

Last updated 1 year ago

📖