Installing rails

tell me the best way to install rails on ubuntu 14.04. i taking the
help
from git page and others but still got same error.

sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison
libffi-dev
this command is ok

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

this says

root@system:/home/ankit# curl -L https://get.rvm.io | bash -s stable %
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
–:–:-- 0curl: (7) Failed to connect to get.rvm.io port 443: No
route
to host

thanks

On 21 July 2015 at 10:16, Ankit R. [email protected] wrote:

Speed
0 0 0 0 0 0 0 0 --:–:-- 0:00:01 --:–:–
0curl: (7) Failed to connect to get.rvm.io port 443: No route to host

Can you open that web page in a browser (https://get.rvm.io)? If not
that suggests you cannot access that url for some reason. If you can
then try the curl again as it may have been a temporary problem.

Colin

To install ruby and ruby on rails you can follow these steps:

2015-07-21 15:29 GMT+06:00 Colin L. [email protected]:

Total % Received % Xferd Average Speed Time Time Time
Colin
For more options, visit https://groups.google.com/d/optout.


Md. Sadaf N. (@sadaf2605 https://twitter.com/sadaf2605)
www.sadafnoor.com

Get.rvm.io redirects to
https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer
Perhaps you should give that a try.

Colin L. [email protected] schrieb am Di., 21.07.2015, 11:44:

still an errror

On 21 July 2015 at 10:33, Sadaf N. [email protected] wrote:

To install ruby and ruby on rails you can follow these steps:
Install Ruby On Rails on Ubuntu 14.04 Trusty Tahr | GoRails

The section on using rvm shows the same command the OP has already
tried,
which failed.

Colin

On 21 July 2015 at 11:39, Ankit R. [email protected] wrote:

still an errror

You have not said whether you can access https://get.rvm.io in a browser

Colin

On Tue, Jul 21, 2015 at 4:09 PM, Ankit R. [email protected] wrote:

still an errror

​Open the site (Get.rvm.io http://get.rvm.io/) in​ the browser. What
error do you get.

Have you tried opening the faulty URLs in your browser? What happens? Do
you sit behind a proxy or a firewall?

Ankit R. [email protected] schrieb am Di., 21.07.2015, 13:03:

On 21 July 2015 at 12:02, Ankit R. [email protected] wrote:

0
installation.
It seems to me you have some basic problems with internet access.

Colin

now i got this error

ruby-2.2.2 - #downloading ruby-2.2.2, 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:00:02
–:–:-- 0
curl: (56) Recv failure: Connection reset by peer
There was an error(56).
Checking fallback:
http://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2
Checking fallback:
http://www.mirrorservice.org/sites/ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2
No fallback URL could be found, try increasing timeout with:

echo "export rvm_max_time_flag=20" >> ~/.rvmrc

There has been an error fetching the ruby interpreter. Halting the
installation.

On Tue, Jul 21, 2015 at 4:19 PM, Ganesh Ranganathan <

The both mentioned in your copied error message. But Colin is right, it
seems like a general problem with your internet setup. That’s why I want
you to try the URLs in your browser. If they work there, then there has
to
be some cause why it works on browser but not in the shell, and to find
that reason will be hard without having access to your machine or at
least
know more about your overall network setup.

Ankit R. [email protected] schrieb am Di., 21.07.2015, 13:24:

what do you mean by faulty url ?

i am not sitting in proxy or firewall