Update Ruby with rvm

Source: Internet
Author: User

Http://rvm.io/rvm/install

 

Install RVM (development version):
\curl -sSL https://get.rvm.io | bash Without autolibs
\curl -sSL https://get.rvm.io | bash -s -- --autolibs=read-fail 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" 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 ~/.curlrc file.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.