Sha256: 0bef587678b94780ebf403be2be4c856f7fe44d7d43af16fad9722a90a6f922b

Contents?: true

Size: 1002 Bytes

Versions: 34

Compression:

Stored size: 1002 Bytes

Contents

∴ rvm exec some-command

Executes arbitrary commands against rvm set operations. If given a set that
matches a single ruby command, it will exec the command directly without printing
out extra rvm information.

Examples:

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

  ∴ rvm exec ruby -v

If you instead 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 exec ruby -v

Since it is a set operation, normal ruby specifiers will work. As an example, to run
it against 1.9.2 and 1.8.7, you would run:

  ∴ rvm 1.9.2,1.8.7 exec ruby -v

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

  ∴ rvm --with-rubies all-gemsets exec gem env

To execute 'which ruby' in the current directory, loading a .rvmrc and falling back
to the default ruby:

  ∴ rvm --with-rubies default-with-rvmrc exec which ruby

For more information, look up the rvm set operations.

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
rvm-1.1.4 help/exec
rvm-1.1.3 help/exec
rvm-1.1.2 help/exec
rvm-1.1.1 help/exec
rvm-1.1.0 help/exec
rvm-1.0.23 help/exec
rvm-1.0.22 help/exec
rvm-1.0.21 help/exec
rvm-1.0.20 help/exec
rvm-1.0.19 help/exec
rvm-1.0.18 help/exec
rvm-1.0.17 help/exec
rvm-1.0.15 help/exec
gemrage-1.0.0 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.4.1 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.4.0 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.3.2 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.3.1 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.3.0 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec
gemrage-0.2.0 vendor/ruby/1.8/gems/rvm-1.0.14/help/exec