NRuby

Форк
0
86 строк · 4.7 Кб
1
Usage:
2
 
3
    rvm [--debug][--trace][--nice] <command> <options>
4

5
  for example:
6

7
    rvm list                # list installed interpreters 
8
    rvm list known          # list available interpreters
9
    rvm install <version>   # install ruby interpreter
10
    rvm use <version>       # switch to specified ruby interpreter
11
    rvm remove <version>    # remove ruby interpreter (alias: delete)
12
    rvm get <version>       # upgrade rvm: stable, master
13

14
Available commands:
15

16
  rvm has a number of common commands, listed below. Additional information about any command
17
  can be found by executing `rvm help <command>`. 
18

19
  ruby installation
20
      fetch                   # download binary or sources for selected ruby version
21
      install                 # install ruby interpreter
22
      list                    # show currently installed ruby interpreters
23
      list known              # list available interpreters
24
      mount                   # install ruby from external locations
25
      patchset                # tools related to managing ruby patchsets
26
      pkg                     # install a dependency package
27
      reinstall               # reinstall ruby and run gem pristine on all gems
28
      remove                  # remove ruby and downloaded sources (alias: delete)
29
      requirements            # installs dependencies for building ruby
30
      uninstall               # uninstall ruby, keeping it's sources
31
      upgrade                 # upgrade to another ruby version, migrating gems
32

33
  running different ruby versions
34
      current                 # print current ruby version and name of used gemsets
35
      do                      # runs a command against specified and/or all rubies
36
      gemdir                  # display path to current gem directory ($GEM_HOME)
37
      use <version>           # switch to given (and already installed) ruby version
38
      use default             # switch to default ruby, or system if none is set
39
      use system              # switch to system ruby
40
      wrapper                 # creates wrapper executables for a given ruby & gemset
41

42
  managing gemsets
43
      gemset                  # manage gemsets 
44
      migrate                 # migrate all gemsets from one ruby to another
45

46
  rvm configuration
47
      alias                   # define aliases for `rvm use`
48
      autolibs                # tweak settings for installing dependencies automatically 
49
      group                   # tools for managing groups in multiuser installations
50
      rvmrc                   # tools related to managing .rvmrc trust & loading gemsets
51

52
  rvm maintenance
53
      implode                 # removes the rvm installation completely
54
      cleanup                 # remove stale source files & data associated with rvm
55
      cron                    # manage setup for using ruby in cron
56
      docs                    # tools to make installing ri and rdoc docs easier
57
      get                     # upgrades RVM to latest head, stable or branched version
58
      osx-ssl-certs           # helps update OpenSSL certs installed by rvm on OS X
59
      reload                  # reload rvm source itself
60
      reset                   # remove all default and system settings
61
      snapshot                # backup/restore rvm installation
62

63
  troubleshooting
64
      config-get              # display values for RbConfig::CONFIG variables
65
      debug                   # additional information helping to discover issues
66
      export                  # set temporary env variable in the current shell
67
      fix-permissions         # repairs broken permissions
68
      repair                  # lets you repair parts of your environment, such as
69
                              # wrappers, env files and similar (general maintenance)
70
      rubygems                # switches version of rubygems for the current ruby
71
      tools                   # general information about the ruby env
72
      unexport                # undo changes made to the environment by `rvm export`
73
      user                    # tools for managing RVM mixed mode in multiuser installs
74

75
   information and documentation
76
      info                    # show the environment information for current ruby
77
      disk-usage              # display disk space occupied by rvm
78
      notes                   # display notes with operating system specifics
79
      version                 # display rvm version (equal to `rvm -v`)
80

81
   additional global options
82
      --debug                 # toggle debug mode on for very verbose output
83
      --trace                 # toggle trace mode on to see EVERYTHING rvm is doing
84
      --nice                  # process niceness (increase the value on slow computers, default 0)
85

86
For additional documentation please visit https://rvm.io
87

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.