Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

trouble installing RVM on a mac

Tags:

macos

rvm

I am trying to set up a local Rails environment, and I am having issues with getting RVM installed.

Here is the error I get:

$ bash < <( curl http://rvm.io/releases/rvm-install-head )
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0    136      0  0:00:01  0:00:01 --:--:--     0
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token `<'
'ash: line 2: `<head><title>301 Moved Permanently</title></head>

The contents of my /usr/local folder are as follows:
bin          man
etc          mysql
hermes       mysql-5.1.56-osx10.5-x86_64
include      rvm
info         share
lib

I have some working knowledge of what's going on here, but help on what I'm missing or whether I'm approaching this the wrong way would be greatly appreciated.

like image 838
Matt Avatar asked Apr 12 '11 17:04

Matt


1 Answers

Use the new RVM installer for either user and/or root installs instead, it defaults to head.

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

Alternatively you can install the stable release like this:

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

RTFM material is located at https://rvm.io/rvm/install and https://rvm.io/rvm/basics

like image 180
4 revs, 3 users 66% Avatar answered Oct 21 '22 11:10

4 revs, 3 users 66%