# Rubygems LoadError with Apache

**URL:** <https://www.ruby-forum.com/t/rubygems-loaderror-with-apache/91436>\
**Category:** Rails\
**Created:** [April 9, 2007, 5:05am UTC](https://www.ruby-forum.com/t/rubygems-loaderror-with-apache/91436 "2007-04-09T05:05:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/439d5e/32.png) [@pacman](https://www.ruby-forum.com/u/pacman)\
**Post date:** [April 9, 2007, 5:05am UTC](https://www.ruby-forum.com/t/rubygems-loaderror-with-apache/91436/1 "2007-04-09T05:05:49Z")

</div>

Hi, I tried to deploy Ruby with Apache on OS X, but i got this error  
just from clicking on the “About your applicationâ€™s environment” on the  
“Welcome aboard” rails page.

========================================================================

public/…/config/boot.rb:18:in `require': No such file to load -- rubygems (LoadError) from public/../config/boot.rb:18 from public/../config/environment.rb:11:in`require’  
from public/…/config/environment.rb:11  
from public/dispatch.cgi:3:in `require’  
from public/dispatch.cgi:3  
[Mon Apr 9 09:56:58 2007] [error] [client 127.0.0.1] Premature end of  
script headers: public/dispatch.cgi

========================================================================

My Rails App work fine if i just use the mongrel server inside  
Locomotive.

Any help here on what i need to do would be great!!

Thanks,
