Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Properly forward commands with quoted strings #3

Merged
merged 1 commit into from

2 participants

@mislav
Owner

Makes stuff like this work:

rbenv each ruby -e "p Object.class"
@chriseppstein chriseppstein merged commit ba27fab into rbenv:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 29, 2011
  1. @mislav
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/rbenv-each
View
2  bin/rbenv-each
@@ -24,7 +24,7 @@ for ruby in `rbenv versions --bare`; do
echo -e "\033[1;34m[$ruby]:\033[0m \033[1;32m$@\033[0m";
echo -e "\033[1;34m******************************************************************\033[0m";
fi
- RBENV_VERSION=$ruby $@
+ RBENV_VERSION=$ruby "$@"
if [ $verbose = 1 ]; then
echo
fi
Something went wrong with that request. Please try again.