Use your own Rails library

Hey, I want to add my rails Library to my Application, so everybody who runs ruby on his or her web server, could install my Applications and configure the database and everything just works fine. So saved my rails with all the extensions and further gems inside and saved everything inside my rails application. The only problem how to tell the web server to use the gems shipped with the application! Where is the configuration file to change that ? Please help ? regrades Snoop1990