Well, I got the first several steps in the process working by just
hardcoding
RestClient.proxy="http://proxy:80"
early in /Library/Ruby/Gems/1.8/gems/heroku-0.9.1/lib/heroku/
command.rb
But then I ran into proxy/DNS-related problems with later steps of the
deployment process.
$ heroku keys:add
Uploading ssh public key /Users/jness/.ssh/id_rsa.pub
Enter your Heroku credentials.
Email: xxx
Password: xxx
Uploading ssh public key /Users/jness/.ssh/id_rsa.pub
$ heroku create
Created http://glowing-dawn-30.heroku.com/ | [email protected]:glowing-
dawn-30.git
Git remote heroku added
$ git push heroku master
ssh: Could not resolve hostname heroku.com: nodename nor servname
provided, or not known
fatal: The remote end hung up unexpectedly
Meh..
On May 25, 6:44 pm, Jonathan Ness <[email protected]> wrote:
> Heroku looks cool. I'd like to get started testing it but I don't
> have direct interwebs access. I need to specify a proxy server. This
> works fine:
>
> $ restclient>> RestClient.proxy="http://proxy:80"
>
> => "http://proxy:80"
>
> >> RestClient.get "http://www.google.com"
>
> But how do I specify a proxy for heroku itself?
>
> $ heroku keys:add
> Uploading ssh public key /Users/jness/.ssh/id_rsa.pub
> Enter your Heroku credentials.
> Email: xxx
> Password: xxx
> Uploading ssh public key /Users/jness/.ssh/id_rsa.pub
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/net/http.rb:560:in `initialize': getaddrinfo: nodename nor
> servname provided, or not known (SocketError)
> ...
>
> Thanks for the help.
>
> Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---