From: Jeremy Bopp Date: 2011-11-19T07:42:48+09:00 Subject: Re: RVM install ruby problem, plz help On 11/18/2011 12:46, Misha Ognev wrote: > RVM install ruby problem, plz help > > So, this command and this output: > misha@comp:~$ rvm install 1.9.2 > Installing Ruby from source to: /home/misha/.rvm/rubies/ruby-1.9.2-p290, > this may take a while depending on your cpu(s)... > > ruby-1.9.2-p290 - #fetching > ruby-1.9.2-p290 - #downloading ruby-1.9.2-p290, this may take a while > depending on your connection... > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > 0 > curl: (7) couldn't connect to host > ERROR: There was an error, please check > /home/misha/.rvm/log/ruby-1.9.2-p290/*.log. Next we'll try to fetch via > http. > Trying http:// URL instead. > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- > 0 > curl: (7) couldn't connect to host > ERROR: There was an error, please check > /home/misha/.rvm/log/ruby-1.9.2-p290/*.log > ERROR: There has been an error while trying to fetch the source. > Halting the installation. > ERROR: There has been an error fetching the ruby interpreter. Halting > the installation. > > Any hint? It looks like you may be required to use a proxy server to access the Internet from your location. You probably have your regular web browser already configured to do that, but curl won't know about those settings. Try setting the HTTP_PROXY environment variable to point to your proxy server. Make sure you export that: export HTTP_PROXY=http://some-server.example.com:1234/ Use your real server's information, of course. The curl program should use that to access the Internet through your proxy server and hopefully resolve this issue for you. -Jeremy