Skip to content

Commit 93ccdf5

Browse files
committed
Added RVM workaround
1 parent 7e58913 commit 93ccdf5

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

0-installing-rvm/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,52 @@ require 'sinatra'
6060

6161
There shouldn't be any errors.
6262

63+
If there are no errors, this concludes the installation process.
64+
65+
### Working around issues
66+
67+
For unknown reasons, the installation process may sometimes hang during various phases of `rvm install 1.9.3`.
68+
69+
If that happens, one workaround of last resort might be to "transplant" a binary copy of RVM from another GNU/Linux machine of the same architecture.
70+
71+
For 32-bit, take the steps outlined below.
72+
73+
**Make sure you have `libreadline-dev`:**
74+
75+
```
76+
sudo apt-get install libreadline-dev
77+
```
78+
79+
**Remove the current RVM installation:**
80+
81+
```
82+
rm -rf ~/.rvm
83+
```
84+
85+
**Download the RVM tarball:**
86+
87+
```
88+
wget -O /tmp/rvm.tar.gz http://ompldr.org/vZnZzcQ/rvm.tar.gz
89+
```
90+
91+
**Verify its MD5 signature:**
92+
93+
```
94+
$ md5sum /tmp/rvm.tar.gz
95+
05a92b8a2338ee990c6537d6d81c277d /tmp/rvm.tar.gz
96+
```
97+
98+
**Uncompress the tarball:**
99+
100+
```
101+
tar -xf /tmp/rvm.tar.gz -C ~
102+
```
103+
104+
**To verify that you have a working RVM installation, start the interactive console `irb` and type:**
105+
106+
```ruby
107+
require 'sinatra'
108+
```
109+
110+
There shouldn't be any errors.
111+

0 commit comments

Comments
 (0)