Can I execute gems from outside an rbenv environment?
问题 I am able to install and execute a gem as follows: rbenv install 2.4.1 rbenv local 2.4.1 # enter the environment gem install fpm fpm --version I was expecting to be able to execute the gem from outside the environment too, something like: rbenv local --unset # leave the environment rbenv rehash # update shims fpm --version But instead I get: rbenv: fpm: command not found The `fpm' command exists in these Ruby versions: 2.4.1 Have I misunderstood how rbenv shims work? Can I execute a gem from