Skip to content
This repository
tag: 1.18.8
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 53 lines (29 sloc) 1.393 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
∴ rvm rvmrc {trust,untrust,trusted,load,reset} [optional-path]
∴ rvm rvmrc create {ruby-version} [--rvmrc|--ruby-version|--versions-conf]

Tools for dealing with and loading the rvmrc trust for a given directory.
All actions take an optional path to a directory to check.

Examples:

To check the status of ~/My/project, you would run:

  ∴ rvm rvmrc trusted ~/My/project

Or, more conventionally,

  ∴ cd ~/My/project && rvm rvmrc trusted

To manually set it as trusted:

  ∴ rvm rvmrc trust ~/My/project

Or, to reset the trust and force a prompt:

  ∴ rvm rvmrc reset ~/My/project
  ∴ rvm rvmrc reset all

Finally, to load the rvmrc in a directory, you would run:

  ∴ rvm rvmrc load ~/My/project

Or,

  ∴ cd ~/My/project && rvm rvmrc load

Note that this replaces 'rvm load-rvmrc'. Note that load implicity trusts the
rvmrc, even if it is set to untrusted.


Creating project rvmrc files can easily be done with the following command:

  ∴ rvm --rvmrc --create use 1.9.2@funky

Or for scripting,

  ∴ rvm rvmrc create 1.9.2@funky

Above command will create both the gemset 'funky', and a project rvmrc file in the current directory.

From RVM 1.11.0 new project files are available. They do not require trusting:

- ∴ rvm rvmrc create 1.9.2@funky --ruby-version
- ∴ rvm rvmrc create 1.9.2@funky --versions-conf
- https://rvm.io/workflow/projects/#ruby-versions
Something went wrong with that request. Please try again.