rvm installation script

23 views
Skip to first unread message

John Merlino

unread,
May 4, 2013, 7:30:29 PM5/4/13
to Ruby on Rails: Talk
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


Colin Law

unread,
May 5, 2013, 10:41:01 AM5/5/13
to rubyonra...@googlegroups.com
On 5 May 2013 00:30, John Merlino <stoi...@aol.com> wrote:
> 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

John Merlino

unread,
May 5, 2013, 10:51:21 AM5/5/13
to rubyonra...@googlegroups.com, cla...@googlemail.com
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?

Colin Law

unread,
May 5, 2013, 11:02:37 AM5/5/13
to rubyonra...@googlegroups.com
On 5 May 2013 15:51, John Merlino <stoi...@aol.com> wrote:

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

Jordon Bedwell

unread,
May 5, 2013, 4:06:56 PM5/5/13
to rubyonra...@googlegroups.com, cla...@googlemail.com
On Sun, May 5, 2013 at 9:51 AM, John Merlino <stoi...@aol.com> wrote:
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:

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.

Michał Papis

unread,
May 5, 2013, 4:33:04 PM5/5/13
to rubyonra...@googlegroups.com, cla...@googlemail.com
extra note for the "-#L" it means: show progress bar + follow links
Reply all
Reply to author
Forward
0 new messages