On Wed, Dec 10, 2008 at 4:34 AM, Simon Heywood
<[EMAIL PROTECTED]> wrote:
> Where I work we use a pac file to determine the http proxy, which can vary
> by location. HTTP_PROXY is not defined by default. Thus I have a slight
> problem in distributing my app internally as it requires people to look at
> the pac file and set HTTP_PROXY manually depending on their location.
> **However**, the only reason I need HTTP_PROXY to be set is so that I can do
> =====
> Shoes.setup do
>    gem 'hoe'
>    gem 'mechanize'
> end
> =====
> So, I wondered, as an alternative, if it would be possible for the Packager
> to "Include required gems with app" along the lines of the "Include Shoes
> with your app"?
> However, I think platform specific gems might cause a problem here?

It could be nice to automate this. In the meantime you can `gem
unpack` into your project directory and just use require instead of
Shoes.setup.

-- 
Seth Thomas Rasmussen
http://greatseth.com

Reply via email to