chruby icon indicating copy to clipboard operation
chruby copied to clipboard

Question: should chruby-exec support exec-ing with multiple rubies?

Open nerdrew opened this issue 10 years ago • 2 comments

Eg:

chruby-exec 1.9.2 2.1.1 jruby -- gem update bundler

or

chruby-exec all -- gem update bundler

nerdrew avatar Jun 19 '14 18:06 nerdrew

Maybe this could be a separate command that just does:

for ruby in "${RUBIES[@]}"; do
  chruby_use "$ruby"
  command here
  chruby_reset
done

postmodern avatar Mar 14 '15 06:03 postmodern

Separate command works for me.

nerdrew avatar Mar 16 '15 05:03 nerdrew