Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing RVM on Ubuntu 10.10 error

Tags:

ubuntu

rvm

I'm trying to do this:

bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )

but I keep getting this error

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>

What's going on?

like image 254
ericbae Avatar asked Apr 12 '11 02:04

ericbae


People also ask

What is the current version of RVM?

0-p481 is the latest, RVM will attempt to download, install, and set 2.0. 0-p481 as your default 2.0.

What is RVM in Ubuntu?

RVM, or Ruby Version Manager, is a command line tool that lets you manage and work with multiple Ruby development environments and allows you to switch between them.

What is RVM install?

RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.


2 Answers

The URL to install RVM was recently changed to use HTTPS, so the command is now:

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

However, you should always read the up-to-date RVM installation docs for the current command.

like image 181
Andrew Marshall Avatar answered Oct 21 '22 08:10

Andrew Marshall


According to https://rvm.io/rvm/install, that's not the correct URL. It should be...

\curl -L https://get.rvm.io | bash
like image 38
Steve Jorgensen Avatar answered Oct 21 '22 07:10

Steve Jorgensen