0
votes

I am trying to install ruby and rails using RVM but unable to install RVM it self i tried "sudo bash < <(curl -sk https://rvm.beginrescueend.com/install/rvm)" it says Successfully checked out branch '' then Nothing will happen,i think its not able find the stable release branch.

even i tried pull latest branch by using

"sudo curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest"

it is also giving error like "% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0Warning: Failed to create the file /usr/local/rvm/archives/rvm-1.6.32.tar.gz 1 832k 1 16151 0 0 6697 0 0:02:07 0:00:02 0:02:05 7764 curl: (23) Failed writing body (0 != 16151)

ERROR: Failed to download https://rvm.beginrescueend.com/releases/rvm-1.6.32.tar.gz to /usr/local/rvm/archives/rvm-1.6.32.tar.gz using 'curl', error code (0) " can anyone please help me installing rvm

I am using ubuntu 10.04

1

1 Answers

0
votes

I think you have a permission problem there. It's best if you use su (or sudo su) to become root, and then run the commands in the root shell from there, using sudo like you're doing might not work correctly.

Edit:

To install without root privileges do not use sudo:

> cd $HOME
> bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

See the full installation instructions here:
http://beginrescueend.com/rvm/install/