rbenv-each icon indicating copy to clipboard operation
rbenv-each copied to clipboard

doesn't execute for `system` ruby

Open jasonkarns opened this issue 10 years ago • 2 comments

Is rbenv-each intended to also execute the command against the system ruby?

rbenv versions includes the system ruby in its output, but rbenv versions --bare does not. Is this a bug with rbenv versions? Or should rbenv-each not be using --bare?

jasonkarns avatar Jun 01 '15 15:06 jasonkarns

"system" is purely for user convenience when reading human-readable output. it should not actually get listed among rbenv versions, since it's not an actual version that rbenv manages.

I don't think rbenv each should iterate over "system".

mislav avatar Jun 01 '15 16:06 mislav

Speaking anecdotally, I think most of the time I run each I want the command executed in the system ruby as well. For the time being, it's probably better to not change the current behavior. If #1 ever gets implemented, I think I'd like to see system included by default, and excludable via whatever mechanism accomplishes #1

jasonkarns avatar Nov 09 '15 18:11 jasonkarns