installing rails

32 views
Skip to first unread message

Ankit Raj

unread,
Jul 21, 2015, 5:16:35 AM7/21/15
to rubyonra...@googlegroups.com
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

Colin Law

unread,
Jul 21, 2015, 5:30:17 AM7/21/15
to rubyonra...@googlegroups.com
On 21 July 2015 at 10:16, Ankit Raj <akt...@gmail.com> wrote:
> 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.
> ...
> 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

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

Sadaf Noor

unread,
Jul 21, 2015, 5:34:35 AM7/21/15
to rubyonra...@googlegroups.com
To install ruby and ruby on rails you can follow these steps: https://gorails.com/setup/ubuntu/14.04


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLucFkVpt69wqJZnjMpppH_tR9fRQ%3DvWztZMoq7CSFKPug%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
 Md. Sadaf Noor (@sadaf2605)
 www.sadafnoor.com

Colin Law

unread,
Jul 21, 2015, 5:45:09 AM7/21/15
to rubyonra...@googlegroups.com
On 21 July 2015 at 10:33, Sadaf Noor <em...@sadafnoor.com> wrote:
To install ruby and ruby on rails you can follow these steps: https://gorails.com/setup/ubuntu/14.04

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

Colin
 

Norbert Melzer

unread,
Jul 21, 2015, 6:12:18 AM7/21/15
to rubyonra...@googlegroups.com

Ankit Raj

unread,
Jul 21, 2015, 6:39:24 AM7/21/15
to rubyonra...@googlegroups.com
still  an errror

Ganesh Ranganathan

unread,
Jul 21, 2015, 6:50:06 AM7/21/15
to rubyonra...@googlegroups.com

On Tue, Jul 21, 2015 at 4:09 PM, Ankit Raj <akt...@gmail.com> wrote:
still  an errror

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

Colin Law

unread,
Jul 21, 2015, 6:51:17 AM7/21/15
to rubyonra...@googlegroups.com
On 21 July 2015 at 11:39, Ankit Raj <akt...@gmail.com> wrote:
>
> still an errror

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

Colin
>>>> Md. Sadaf Noor (@sadaf2605)
>>>> www.sadafnoor.com
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
>>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAAJ2eVoNnp-s1BnmDLT6%3DBKpzq9d%2BsiK%2BXnBe1qj1pNGPW3MSQ%40mail.gmail.com.
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
>>> To post to this group, send email to rubyonra...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuYfmLB%2B7E3QWGhazWJEqk9hxet_ZzPOtjCAfMvbdB4bg%40mail.gmail.com.
>>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0b62173b-16d8-4dbe-b477-8c455ad85443%40googlegroups.com.

Ankit Raj

unread,
Jul 21, 2015, 7:03:17 AM7/21/15
to rubyonra...@googlegroups.com
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.


--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/GNfu3aVy5bk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.

To post to this group, send email to rubyonra...@googlegroups.com.

Norbert Melzer

unread,
Jul 21, 2015, 7:14:25 AM7/21/15
to rubyonra...@googlegroups.com

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


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.

To post to this group, send email to rubyonra...@googlegroups.com.

Colin Law

unread,
Jul 21, 2015, 7:21:26 AM7/21/15
to rubyonra...@googlegroups.com
On 21 July 2015 at 12:02, Ankit Raj <akt...@gmail.com> wrote:
> 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.

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

Colin

>
>
> On Tue, Jul 21, 2015 at 4:19 PM, Ganesh Ranganathan
> <ganesh.ran...@gmail.com> wrote:
>>
>>
>> On Tue, Jul 21, 2015 at 4:09 PM, Ankit Raj <akt...@gmail.com> wrote:
>>>
>>> still an errror
>>
>>
>> Open the site (Get.rvm.io) in the browser. What error do you get.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Ruby on Rails: Talk" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/rubyonrails-talk/GNfu3aVy5bk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> rubyonrails-ta...@googlegroups.com.
>> To post to this group, send email to rubyonra...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/CALFmRoFKsdbDLOezoAt6o0mxsxoENWA5UMSXO5ima5U%2BV-wTkw%40mail.gmail.com.
>>
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CAKB%2Bxy78GyP_nx_EtnW5to1oQJaizAOc43Kr%3DrUfEZQrzF5Qxw%40mail.gmail.com.

Ankit Raj

unread,
Jul 21, 2015, 7:24:50 AM7/21/15
to rubyonra...@googlegroups.com
what do you mean by faulty url ?


i  am not sitting  in proxy or firewall


Norbert Melzer

unread,
Jul 21, 2015, 7:49:08 AM7/21/15
to rubyonra...@googlegroups.com

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.


Reply all
Reply to author
Forward
0 new messages