Hello there. I''m trying to install some plugins for my Rails application but my network is behind a proxy server. The gem installer have the -p parameter to configure a proxy and it works ok, but what about script/ plugin install? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You can set http_proxy to make it sense. On Sep 18, 4:28 am, Lucas Húngaro <lucashung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello there. > > I''m trying to install some plugins for my Rails application but my > network is behind a proxy server. The gem installer have the -p > parameter to configure a proxy and it works ok, but what about script/ > plugin install? > > Thanks.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi EricSun, can you please tell me in a more detailedly, I installed Instant Rails on a Windows machine. now i want to install a plugin but failing since i am not able to set the proxy server settings. Awaited for your help. thanks in advance Divya On Sep 19, 6:32 am, "EricSUN(RailsBeijing)" <yundong....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You can set http_proxy to make it sense. > > On Sep 18, 4:28 am, Lucas Húngaro <lucashung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hello there. > > > I''m trying toinstallsome plugins for my Rails application but my > > network is behind a proxy server. The gem installer have the -p > > parameter to configure a proxy and it works ok, but what about script/ > >plugininstall? > > > Thanks.- Hide quoted text - > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
in linux systems you have to set a envionment variable like this, export http_proxy="http://myproxyserver:8080" # http can be what ever protocol your proxy server supports and myproxyserver can be a name or IP. in windows i am not sure but i guess you try this, right-click on MyComputer, then go to properties, click Advanced tab , click on the button Environment Variables in the 3rd Row, add a new variable called http_proxy if does not exist, then set the value as stated above. If this is not working, you have to find out the variable equivalent to http_proxy of linux to windows, then set it. i guess thats what Eric was talking about. and one more thing is none of the above works out, you can use this one ruby scripts/plugin install --http-proxy="http://myproxyserver:8080/" plugin-url for every plugin you install you have to give --http-proxy option, but if you use a environment variable you don''t have to give this. If given this takes priority over environment variable. Good Luck, On Sep 29, 1:14 pm, Divya <Divya.Pott...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi EricSun, can you please tell me in a more detailedly, I installed > Instant Rails on a Windows machine. now i want to install a plugin but > failing since i am not able to set the proxy server settings. > > Awaited for your help. thanks in advance > > Divya > > On Sep 19, 6:32 am, "EricSUN(RailsBeijing)" <yundong....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > You can set http_proxy to make it sense. > > > On Sep 18, 4:28 am, Lucas Húngaro <lucashung...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hello there. > > > > I''m trying toinstallsome plugins for my Rails application but my > > > network is behind a proxy server. The gem installer have the -p > > > parameter to configure a proxy and it works ok, but what about script/ > > >plugininstall? > > > > Thanks.- Hide quoted text - > > > - Show quoted text ---~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---