Ruby Forum Rails deployment > rake gems install with local .gem files

Posted by gsterndale (Guest)
on 13.08.2008 22:12
(Received via mailing list)
Hi All,

I'd like to take advantage of Rails 2.1 config.gem and rake gems
install when deploying (with Capistrano). Unfortunately, outgoing HTTP
is blocked in our production environment.

I'm considering keeping a directory of all required .gem files in our
repository and after exporting the repo on the server, pointing gem to
them with a .gemrc config file, but I haven't been able to figure out
how to do so.

Does anyone know how to do this?

Any alternate ideas?

Thanks!
Posted by Andrew Semprebon (Guest)
on 13.08.2008 23:28
(Received via mailing list)
I've used the gemsonrails <http://gemsonrails.rubyforge.org/> plugin to 
do
something like this. It puts your gems in vendor/gems, which you can 
then
check into your repository.

On Tue, Aug 12, 2008 at 9:56 AM, gsterndale <gsterndale@gmail.com> 
wrote:

> how to do so.
>
> Does anyone know how to do this?
>
> Any alternate ideas?
>
> Thanks!
>
> >
>


--
--
Andrew Semprebon * http://semprebon.blogspot.com/