Running ruby script/plugin install ... from behind a firewal

I’m probably missing something obvious but…

gems has the -p for proxies. Is there some equivalent for ruby
script/install or is there a way of running this that doesn’t need it?

Thanks

Tom