To install rbenv-each, clone this repository into your ~/.rbenv/plugins directory. (You'll need a recent version of rbenv that supports plugin bundles.)
$ mkdir -p ~/.rbenv/plugins
$ cd ~/.rbenv/plugins
$ git clone https://github.com/chriseppstein/rbenv-each.git
You can get help for the each
command by passing the -h
option.
$ rbenv each -h
Usage: rbenv each [-v] ...
-v Verbose mode. Prints a header for each ruby.
Verbose mode will print a header for each ruby so you can distinguish the output.
$ rbenv each bundle install
$ rbenv each -v rake test
To install phpenv-each, clone this repository into your ~/.phpenv/plugins directory. (You'll need a recent version of phpenv that supports plugin bundles.)
$ mkdir -p ~/.phpenv/plugins
$ cd ~/.phpenv/plugins
$ git clone https://github.com/sanemat/rbenv-each.git
You can get help for the each
command by passing the -h
option.
$ phpenv each -h
Usage: phpenv each [-v] ...
-v Verbose mode. Prints a header for each php.
Verbose mode will print a header for each php so you can distinguish the output.
$ phpenv each php --version
$ phpenv each -v phpunit
$ phpenv each -v php -r "phpinfo();"