Richard Kilmer wrote:

> I believe...if memory serves...that you can do:
> 
> If your gem is remote (on 0.7.0):
> 
>   gem install whatevergem -- --with-opt-dir=/sw
> 
> If your gem is local (on 0.7.0):
> 
>   gem install whatever.gem -- --with-opt-dir=/sw

Doesn't work with 0.7.0:
ERROR:  While executing gem ... (Gem::CommandLineError)
     Too many gem names (dbd-sqlite-0.1.0.gem, --with-opt-dir=/sw/); 
please specify only one