Packaging of gems in app dir

Hi,
I have got the source code of one of my clients, which has the "gems"
directory in the vendor folder where all app gems are installed.

Can anyone tell me how to do that?

Thanks,
Mike