I have tried a lot of methods but cant get this done. I am trying to install rvm on 12.04 ubuntu. There has been many problems in past like this and I have referred as much as I can and still nothing is working for me. Even wirting
sudo in front of these doesnt work.
What I tried are the following:
\curl -L https://get.rvm.io | bash -s stable --ruby
curl -L get.rvm.io | bash -s stable
curl -L raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable
I am able to ping each of them though.
Everytime I get the this error:
couldn't connect to host
network is unreachable
it looks like this:
ubuntu@ubuntu:~$ \curl -L https://get.rvm.io | bash -s stable --ruby % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) couldn't connect to host
I already tried the solution proposed in Unable to install RVM using curl
I am using NAT adapter for internet and wired connection. I do not have any proxies enabled and all my firewalls are disabled in my hosting OS which is windows.
My proxy settings for ubuntu are set to
But still I am not able to get this done.
Can somebody tell me what could be the problem and how to fix it. Is it something to do with guest additions because i don't have that yet.