rvm installation script

Which of these scripts is preferred to install rvm on ubuntu server:

curl -#L https://get.rvm.io | bash -s stable --autolibs=4 --ruby

curl -L get.rvm.io | bash -s stable --auto

Which of these scripts is preferred to install rvm on ubuntu server:

curl -#L https://get.rvm.io | bash -s stable --autolibs=4 --ruby

I don't think-#L is a good idea, but I assume that is a typo

curl -L get.rvm.io | bash -s stable --auto

I can't see the documentation for --auto, have you got a link for it?

Colin

https://rvm.io/rvm/install

Look at the first line:

Install RVM with ruby (# for pretty output):

$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby

But later on on that page it sasy:

1. Download and run the RVM installation script

Installing the stable release version:

user$ \curl -L https://get.rvm.io | bash -s stable

So I assume that the addition of “–autolibs=3 --ruby”

means that it instlals all ruby dependencies for you so you dont have to run:

rvm requirements
...
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

and install those manually.

Is that correct?


Please don't top post, thanks.

https://rvm.io/rvm/install

Look at the first line:

Install RVM with ruby (# for pretty output):

$ \curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby

But later on on that page it sasy:

1. Download and run the RVM installation script

Installing the stable release version:

user$ \curl -L https://get.rvm.io | bash -s stable

So I assume that the addition of "--autolibs=3 --ruby"

means that it instlals all ruby dependencies for you so you dont have to
run:

rvm requirements
...
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: /usr/bin/apt-get install build-essential openssl libreadline6
libreadline6-dev
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev
sqlite3 libxml2-dev
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
pkg-config

and install those manually.

Is that correct?

Apparently so. See https://rvm.io/rvm/autolibs/
Let us know whether it works ok.
The above seems to bear little relation to your original question:

Which of these scripts is preferred to install rvm on ubuntu server:
curl -#L https://get.rvm.io | bash -s stable --autolibs=4 --ruby
curl -L get.rvm.io | bash -s stable --auto

but never mind.

Colin

The line above is our new recommended behavior and follows the guidelines for autolibs stated here: https://rvm.io/rvm/autolibs/ if there is an inconsistency please file a ticket on https://github.com/rvm/rvm-site/issues and it will be fixed since inconsistencies are bad (and the RVM team are working to fix that by building a new site that is easier to manage – but inconsistencies on the current site will be fixed too.)

If you are not on a Mac (if you are on Linux) 3 is equal to 4 since RVM does not use anything but the built-in on Linux.

extra note for the “-#L” it means: show progress bar + follow links