change gem user agent

Discussion in 'Ruby' started by A708387 A708387, Jun 17, 2010.

  1. How do I change the gem user agent? We are behind a proxy server which
    does not allow the gem user agent.

    I checked /usr/lib/ruby/1.8/rubygems/ on Ubuntu.

    Thanks.
    --
    Posted via http://www.ruby-forum.com/.
    A708387 A708387, Jun 17, 2010
    #1
    1. Advertising

  2. [Note: parts of this message were removed to make it a legal post.]

    It's in
    /usr/lib/ruby/gems/1.8/gems/rubygems-update-1.3.7/lib/rubygems/remote_fetcher.rb
    lines 316-319 on my rubygems 1.3.7. Normally I wouldn't suggest changing
    it in the files directly but I don't see a convenient way to get around it.

    -Jonathan Nielsen


    On Thu, Jun 17, 2010 at 4:32 PM, A708387 A708387 <>wrote:

    > How do I change the gem user agent? We are behind a proxy server which
    > does not allow the gem user agent.
    >
    > I checked /usr/lib/ruby/1.8/rubygems/ on Ubuntu.
    >
    > Thanks.
    > --
    > Posted via http://www.ruby-forum.com/.
    >
    >
    Jonathan Nielsen, Jun 17, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Headphones
    Replies:
    1
    Views:
    1,317
    IchBin
    Sep 29, 2006
  2. davidj411

    change user-agent

    davidj411, Mar 5, 2008, in forum: Python
    Replies:
    0
    Views:
    315
    davidj411
    Mar 5, 2008
  3. Austin 7873
    Replies:
    5
    Views:
    176
    Eric Hodel
    Jan 27, 2007
  4. Luke Matuszewski
    Replies:
    8
    Views:
    621
    Luke Matuszewski
    Dec 2, 2005
  5. Rainmanjam

    Detect and Change User Agent Via Javascript

    Rainmanjam, Dec 27, 2007, in forum: Javascript
    Replies:
    8
    Views:
    3,697
    Rainmanjam
    Dec 27, 2007
Loading...

Share This Page