• Did you execute all the step in the installation instructions https://github.com/sstephenson/rbenv? I.e. did you add the required snippets to your shell startup (.bash_profile) and so forth?

    If you followed the instructions, could you provide the output of rbenv versions and which -a ruby for a start?

EDIT:

  • rbenv rehash seems to be what generates the shims. This must be executed every time you install a new ruby version. How did you install the rubies? With ruby-build, as recommended in the installation instructions?
Answer from koffeinfrei on Stack Overflow
🌐
GitHub
github.com › rbenv › rbenv
GitHub - rbenv/rbenv: Manage your app's Ruby environment · GitHub
Adds rbenv executable to PATH if necessary.
Starred by 16.7K users
Forked by 1.4K users
Languages   Shell 97.8% | Ruby 1.6%
🌐
Javierjulio
javierjulio.com › rbenv
rbenv - Simple Ruby Version Management - Javier Julio
Add ~/.rbenv/bin to your $PATH for access to the rbenv command-line utility.
🌐
Schlink's Docs
sts10.github.io › docs › lubuntu › rbenv-on-lubuntu.html
Using Rbenv - Schlink's Docs
Following instructions from the init script run, I added eval "$(rbenv init -)" to my ~/.bashrc, just below the export PATH="$HOME/.rbenv/bin:$PATH" line that we added with the echo command above.
🌐
GitHub
gist.github.com › sstephenson › 1120938
Quick guide to installing rbenv · GitHub
# Clone rbenv into ~/.rbenv git clone git@github.com:sstephenson/rbenv.git ~/.rbenv # Add rbenv to your PATH # NOTE: rbenv is *NOT* compatible with rvm, so you'll need to # remove rvm from your profile if it's present.
🌐
Devhints
devhints.io › ruby › rbenv cheatsheet
rbenv cheatsheet
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build · echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
🌐
GitHub
github.com › rbenv › rbenv › wiki › How-to-edit-path
How to edit path · rbenv/rbenv Wiki · GitHub
Explicitly define PATH at the top of your crontab file: PATH=/Users/mislav/.rbenv/shims:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
Author   rbenv
🌐
Programming Zen
programmingzen.com › home › installing rbenv on zsh (on macos)
Installing rbenv on Zsh (on MacOS) | Programming Zen
November 12, 2020 - To ensure that rbenv is correctly loaded when we start a new shell, I had to edit a couple of files. I added the following line to .zshenv: ... This adds gem-specific binaries to the PATH so that they are accessible to the shell without fully qualifying them with their path.
Find elsewhere
🌐
Salt Project
docs.saltproject.io › en › latest › ref › states › all › salt.states.rbenv.html
salt.states.rbenv - Saltproject.io
Use the rbenv.root configuration option to set the path for rbenv if you want a system wide install that is not in a user home dir.
🌐
GitHub
github.com › rbenv › rbenv › issues › 1217
Trying to install rbenv but running into this problem: "Checking for rbenv shims in PATH: not found" · Issue #1217 · rbenv/rbenv
January 31, 2020 - First I tried to auto install with wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash. I think it didn't work as expected because when the rbenv doctor script ran, it said my rbenv directory was in /home/[my name]/.rbenv but not in PATH. I added it to PATH by running echo 'export PATH="/home/[my name]/.rbenv/bin:$PATH"' >> ~/.bashrc.
Author   jaedashson
🌐
Shapeshed
shapeshed.com › using-rbenv-to-manage-rubies
Using rbenv to manage rubies | George Ornbo
September 19, 2024 - set :default_environment, { 'PATH' => "/home/youruser/.rbenv/shims:/home/youruser/.rbenv/bin:$PATH" } This loads rbenv into the shell that capistrano uses. That’s pretty much all you need to use your rbenv installed ruby.
🌐
Stack Overflow
stackoverflow.com › questions › 75106086 › cant-figure-out-how-to-add-rbenv-shims-to-path
ruby - Can't figure out how to add rbenv shims to $PATH - Stack Overflow
If someone provides an answer on how to add what I need to PATH, please be explicit with instructions to do so. ... There is no such thing as a PATH file. You set up your PATH in the zsh initialization files, typically .zshrc. AFIK, you can copy & paste the output of rbenv init - zsh to an appropriate plac of your .zshrc.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › beginner questions
Adding rbenv to PATH [solved] - Linux Mint Forums
I have followed this guys advice: http://hibbard.eu/how-to-install-rbenv- ... mint-17-1/ but have run into a problem. I'm fine until I get up to trying to add ~/.rbenv.bin to PATH using: echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc and adding rbenv to shell using: echo 'eval "$(rbenv ...
🌐
Better Stack
betterstack.com › community › guides › scaling-ruby › rbenv-explained
Getting Started with rbenv | Better Stack Community
September 30, 2025 - echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc echo 'eval "$(rbenv init - zsh)"' >> ~/.zshrc · The first line adds rbenv's executable to your PATH, making the rbenv command available.
🌐
SitePoint
sitepoint.com › blog › ruby › up and running with rbenv
Up and Running with rbenv — SitePoint
November 11, 2024 - $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc · We then need to add rbenv init to our shell to enable shims and autocompletion.
🌐
GitHub
github.com › rbenv › rbenv › issues › 523
README: Do we still need to manually add rbenv to $PATH? · Issue #523 · rbenv/rbenv
December 31, 2013 - I've removed $HOME/.rbenv/bin:$PATH, and it still seems to work with just /Users/kevinsuttle/.rbenv/shims in my path (added automatically it seems).
Author   kevinSuttle
🌐
Team Treehouse
teamtreehouse.com › library › install-rails-in-production › installing-rbenv
Installing rbenv (How To) | Install Rails in Production | Treehouse
We're going to use a program called `rbenv` (short for "RuBy ENVironment") to install and manage our Ruby interpreter on this system. Let's install `rbenv` now. ... $ git clone https://github.com/rbenv/rbenv.git ~/.rbenv (No need for sudo) $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile $ ~/.rbenv/bin/rbenv init $ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
Published   February 15, 2017