Sha256: eab79ba0aa349cf66f42420b39d856271f33a1ef556f4ca6bfbfb0b013d36b69

Contents?: true

Size: 1.2 KB

Versions: 50

Compression:

Stored size: 1.2 KB

Contents

∴ rvm wrapper [ruby_string] [wrapper_prefix] [binary[ binary[ ...]]]

Where ruby_string is the ruby version and gemset combination to wrap,
wrapper prefix is what to prepend to the name of the generated wrapper
binaries and binaries is the names of the binaries you wish to provide
a wrapper for (e.g. gem).

When no binaries are provided, rvm will by default generate wrappers for
ruby, gem, rake, irb, rdoc, ri, and testrb.

Examples:

If you wish to provide an environment-specific wrapper for rspec with a
rails 3 gemset, you could do:

  ∴ rvm --create ree@rails3
  ∴ rvm wrapper ree@rails3 r3 spec

Which would add r3_spec with the specified environment to your the bin
directory where you installed rvm.

Alternatively, if you do:

  ∴ rvm wrapper ruby-1.9.2-head

It will create binaries named ruby,gem, rake, irb, rdoc, ri and tesrb
in the rvm bin directory.

Finally, to show another real and common use, you can use wrapper
to generate ruby executables and gems for passenger to use. Namely:

  ∴ rvm use ree@rails3 --passenger

is equivelant to:

  ∴ rvm use ree@rails3
  ∴ rvm wrapper ree@rails3 passenger

Which creates passenger_* binaries in the rvm bin directory using
ree and the rails3 gemset.

Version data entries

50 entries across 50 versions & 2 rubygems

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