aboutsummaryrefslogtreecommitdiffstats
path: root/doc/install/rvm.md
blob: 53961b45f1142fa63560a3abff39d9319b81a1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Install RVM

If no package is available, install from sources

Setup from sources
------------------

follow procedure described by [this post](http://toddmahoney.com/post/65020455496/ubuntu-13-10-installing-rvm-ruby)

```sh
sudo apt-get update

sudo 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 libgdbm-dev libffi-dev libreadline-dev

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

echo 'source ~/.rvm/scripts/rvm' >> ~/.bash_aliases && bash
```

Test
----

```sh
type rvm | head -n 1
```
and if you get
```sh
rvm is a function
```
installation is ok