Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   Installing Rails
Date:   2005-01-25 10:24:57
From:   curth
Response to: Installing Rails

I read your initial posting too quickly, I should have noticed that you mentioned your companies firewall. If this includes a proxy for web access, then you'll need to tell RubyGems about this when downloading/installing Rails. Use this:


gem install -p http://<proxy-url> rails


Good luck!

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Installing Rails
    2005-01-26 00:36:12  APC [View]

    Thanks Curt. Passing the proxy URL was all I needed to do.

    Now I have the answer I realise that I could have googled for it and solved the problem yesterday. Doh!

    Have a better one, APC

    • Installing Rails
      2005-11-25 12:49:48  Okki [View]

      You can also make an environment variable called http_proxy. I have set this in my environment variables and it worked immediately.

      http_proxy=http://your.proxy.host:port/
      • Installing Rails
        2005-12-02 15:30:19  lena_ [View]

        If you are behind a firewall and http proxy is not available, you can download "rails" gem (rails*.gem) from http://rubyforge.org and install it using local gem installation.

        You may need to get other gems (.gem files) before rails installation succeeds. For instance, I had to also get all of these:
        rake
        activesupport
        activerecord
        actionpack
        actionmailer
        actionwebservice

        and install them in this order before finally installing rails:

        gem install rake --include-dependencies
        gem install activesupport --include-dependencies
        ...
        gem install rails --include-dependencies


        Hope this helps.