# How to add gems folder to allinoneruby exe?

**URL:** <https://www.ruby-forum.com/t/how-to-add-gems-folder-to-allinoneruby-exe/135180>\
**Category:** Ruby\
**Created:** [April 18, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/how-to-add-gems-folder-to-allinoneruby-exe/135180 "2008-04-18T22:21:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean\_n](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Post date:** [April 18, 2008, 10:21pm UTC](https://www.ruby-forum.com/t/how-to-add-gems-folder-to-allinoneruby-exe/135180/1 "2008-04-18T22:21:03Z")

</div>

Hello, I’m building an exe with allinoneruby, but how do i add the gems  
folder C:\ruby\lib\ruby\gems ? I tried to change the sitedirlib by  
editing rbconfig.rb, then I tried to use the -s with allinoneruby to  
include my site\_ruby folder, thinking it would include my gems folder  
and  
all subfolders, but my libraries still can’t load. suggestions?
