GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing rvm.io — RVM: Ruby Version Manager - Installing RVM Support
RVM is maintained by community of volunteers, report issues to
RVM issues tracker.
If you can help or wish to become one of the maintainers - just start helping.
You can find more RVM related projects at
RVM Github organization.
Donation
Love RVM? Help us maintain RVM, a donation can help with it.
Want to help in other way, want to be a sponsor?
contact:
Michal Papis
Carbon Ads
∞Installing RVMRVM supports most UNIX like systems and Windows (with Cygwin or Bash on Ubuntu on Windows). The basic requirements are ∞Install GPG keysAs a first step install GPG keys used to verify installation package: gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB In case you encounter an issues check security ∞Basic install∞UbuntuRVM have dedicated Ubuntu package, so please follow instructions posted here: https://github.com/rvm/ubuntu_rvm If you need a different (newer) version of RVM, after installing base version of RVM check the Upgrading section. ∞Any other systemInstall RVM (development version): \curl -sSL https://get.rvm.io | bash Install RVM stable with ruby: \curl -sSL https://get.rvm.io | bash -s stable --ruby Additionally with rails (poor man's railsinstaller): \curl -sSL https://get.rvm.io | bash -s stable --rails Or with jruby, rails and puma: \curl -sSL https://get.rvm.io | bash -s stable --ruby=jruby --gems=rails,puma To install without rubygems-bundler and rvm gems (and also remove those gems from both global.gems and default.gems): \curl -sSL https://get.rvm.io | bash -s stable --without-gems="rvm rubygems-bundler" To install with hirb gem (and also add it to global.gems): \curl -sSL https://get.rvm.io | bash -s stable --with-gems="hirb" To install with rails and haml gems (and also add them to default.gems): \curl -sSL https://get.rvm.io | bash -s stable --with-default-gems="rails haml" Without autolibs: \curl -sSL https://get.rvm.io | bash -s -- --autolibs=read-fail For a progress bar when downloading RVM / Rubies: echo progress-bar >> ~/.curlrc Point to be noted is, there is a backslash before curl.
This prevents misbehaving if you have aliased it with configuration
in your If you're an existing RVM user and you don't want RVM to attempt to setup your shell to load RVM, you can opt out of this at install time by exporting rvm_ignore_dotfiles=yes, or opt out permanently by setting this in your rvmrc. ∞You can also:
∞Installation explainedThere are three different ways to install and configure RVM.
get.rvm.io is a redirect to https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer You could also use full path for the installer: \curl https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable ∞InstallationI recommend you read the installation script yourself. This will give you a chance to understand what it is doing before installing, and allow you to feel more comfortable running it if you do so. ∞1. Download and run the RVM installation scriptInstalling the stable release version: \curl -sSL https://get.rvm.io | bash -s stable To get the latest development state: \curl -sSL https://get.rvm.io | bash Instruct RVM to not change the shell initializations files 'rc' / 'profile': \curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles Please note that from this point it is user responsibility to add sourcing rvm to appropriate files. For a Multi-User install you would execute the following: \curl -sSL https://get.rvm.io | sudo bash -s stable Note: The Multi-User install instructions must be prefixed with the
Installing a specific version: \curl -sSL https://get.rvm.io | bash -s -- --version latest \curl -sSL https://get.rvm.io | bash -s -- --branch [owner/][repo] Prefix the 'bash' portion with 'sudo', of course, if you wish to apply this to a Multi_user Install. Please feel free to check out our upgrading docs for more details on branch format. Debugging installation process: \curl -sSL https://get.rvm.io | bash -s -- --trace If the rvm install script complains about certificates you need to follow the displayed instructions. Single-User Install Location: ~/.rvm/If the install script is run as a standard, non-root user, RVM will install into the current users's home directory. Modification of user configuration files ( \curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile Multi-User Install Location: /usr/local/rvmIf the install script is run prefixed with sudo, RVM will automatically
install into Please see the FAQ page for an important note regarding root only installs. External tutorialsNote that that any outside tutorials are NOT supported whether they work or not. Tutorials are great, however we have spent massive amounts of man hours debugging the installation process. Please use the install process(es) from this site only, as this is the only supported installation types and methods. To update an existing RVM installationIt is safe to simply re-run the installation script again, or you can follow the upgrading docs. ∞2. Load RVM into your shell sessions as a functionSingle-User:The rvm function will be automatically configured for every user on the system if you install as single user. Read the output of installer to check which files were modified. Multi-User:The rvm function will be automatically configured for every user on the system if you install with sudo.
This is accomplished by loading source /etc/profile Mixed mode (user gemsets):
Gemsets created by these users will be hosted in their HOME directory. It's not possible to use global gemsets from system without using tricks like manually linking directories and they should not be used in mixed-mode. Please bear in mind that 'system' in this context does not refer to your distribution's ruby packages, but to the RVM Multi-User installation. You have two possibilities to manage RVM. The first one is to add
managers to the rvm group. The second one is to use separate managers
with rvmsudo and privilege escalation. Note that it is not safe to use
This mode should also works with passenger, please follow passenger instructions. . ∞3. Reload shell configuration & testClose out your current shell or terminal session and open a new one (preferred). You may load RVM with the following command: source ~/.rvm/scripts/rvm If installation and configuration were successful, RVM should now load
whenever you open a new shell. This can be tested by executing the
following command which should output type rvm | head -n 1 rvm is a function NOTE: Before reporting problems check Congratulations! You have successfully installed RVM.∞Try out your new RVM installationBelow are some examples of how to install and use a Ruby under RVM. Display a list of all rvm list known # MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-p374] [ruby-]1.9.1[-p431] [ruby-]1.9.2[-p320] [ruby-]1.9.3[-p545] [ruby-]2.0.0-p353 [ruby-]2.0.0[-p451] [ruby-]2.1[.1] [ruby-]2.1-head ruby-head ... Install a version of Ruby (eg rvm install 2.1 Checking requirements for opensuse. Requirements installation successful. Installing Ruby from source to: /home/mpapis/.rvm/rubies/ruby-2.1.1, this may take a while depending on your cpu(s)... ... Install of ruby-2.1.1 - #complete Using /home/mpapis/.rvm/gems/ruby-2.1.1 Use the newly installed Ruby: rvm use 2.1 Using /home/mpapis/.rvm/gems/ruby-2.1.1 Check this worked correctly: ruby -v ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux] which ruby /home/mpapis/.rvm/rubies/ruby-2.1.1/bin/ruby Optionally, you can set a version of Ruby to use as the default for new shells. Note that this overrides the 'system' ruby: rvm use 2.1 --default ∞Enjoy using RVM!∞Where to now?If you are new to RVM I recommend that you read the basics page. At the end of the basics page there are further links for getting started. ∞Troubleshooting Your Install
Search:
RVM
Gemsets
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |