# How can I let plugin go through proxy

**URL:** <https://www.ruby-forum.com/t/how-can-i-let-plugin-go-through-proxy/157281>\
**Category:** Rails\
**Created:** [January 9, 2009, 4:29am UTC](https://www.ruby-forum.com/t/how-can-i-let-plugin-go-through-proxy/157281 "2009-01-09T04:29:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [January 9, 2009, 4:29am UTC](https://www.ruby-forum.com/t/how-can-i-let-plugin-go-through-proxy/157281/1 "2009-01-09T04:29:02Z")

</div>

I use script/plugin to install plugins. but how to configure the proxy  
hostname it uses?

---

<div class="post-metadata">

**Author:** ![youhaodeyi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/b9bd4f/32.png) [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Post date:** [January 9, 2009, 7:44am UTC](https://www.ruby-forum.com/t/how-can-i-let-plugin-go-through-proxy/157281/2 "2009-01-09T07:44:50Z")

</div>

Hi,

you can use rubysspi gem for the same.  
install this gem first by downloading it from the net  
copy rspa.rb from the gem folder to your mswin32 folder(check readme of  
the  
gem)  
set ENV variables (PROXY\_HOST)  
run the plugin install command with  
ruby -rspa script/install …

Please let me know if you face any problems

Regards,  
NAYAK

On Fri, Jan 9, 2009 at 8:59 AM, Zhao Yi  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> ## I use script/plugin to install plugins. but how to configure the proxy hostname it uses?
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–

- NAYAK
