Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You find the rvm install script <a href="https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer" rel="nofollow">here</a>. You can</p> <ol> <li>download it</li> <li>modify the parts where curl is used</li> <li>execute the script, which now refers to the manually downloaded files</li> </ol> <p><strong>1. Download</strong></p> <p>Download <a href="https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer" rel="nofollow">this file</a> to <code>/tmp/rvm-installer</code> . Now download the <a href="https://github.com/wayneeseguin/rvm/archive/1.19.6.tar.gz" rel="nofollow">rvm.tar.gz</a> file to <code>/tmp/rvm-1.19.6.tar.gz</code></p> <p><strong>2. modify the file</strong></p> <p>At line 148 begins function <code>fetch_version</code>. Replace it with the following function:</p> <pre><code>fetch_version() { echo '1.19.6' # the current version, as of writing this } </code></pre> <p>At line 161 (within <code>install_release</code>) the <code>get_and_unpack</code> function is called. replace the function call with:</p> <pre><code>get_and_unpack \ /tmp/rvm-${_version}.tar.gz \ rvm-${_version}.tar.gz </code></pre> <p>At line 212 (within <code>get_and_unpack</code>) replace</p> <pre><code>__rvm_curl ${_url} -o ${rvm_archives_path}/${_file} || </code></pre> <p>with:</p> <pre><code>mv ${_url} ${rvm_archives_path}/${_file} || </code></pre> <p><strong>3. finally install rvm</strong></p> <pre><code>cd /tmp cat rvm-installer | bash -s -- --version latest --autolibs=enabled </code></pre> <p>Disclaimer: This is still a hack. It installs rvm, but I don't know about updating (here rvm uses curl again). Good luck :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload