# Installing Ruby - miniruby require error

**URL:** <https://www.ruby-forum.com/t/installing-ruby-miniruby-require-error/104103>\
**Category:** Ruby\
**Created:** [May 14, 2007, 11:21am UTC](https://www.ruby-forum.com/t/installing-ruby-miniruby-require-error/104103 "2007-05-14T11:21:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ac91a4/32.png) [@bill](https://www.ruby-forum.com/u/bill)\
**Post date:** [May 14, 2007, 11:21am UTC](https://www.ruby-forum.com/t/installing-ruby-miniruby-require-error/104103/1 "2007-05-14T11:21:31Z")

</div>

Hi,

I’m trying to install ruby 1.8.6 on OS X.5. make is failing while  
running miniruby mkconfig.rb while trying to require “fileutils”. The  
oh-so-helpful error is simply “Abort trap”. This file exists in the  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/  
folder. I suspect there is a path that’s not being set correctly, but  
am unable to figure it out. Any help is greatly appreciated. TIA.

---

<div class="post-metadata">

**Author:** ![bill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ac91a4/32.png) [@bill](https://www.ruby-forum.com/u/bill)\
**Post date:** [May 15, 2007, 8:46am UTC](https://www.ruby-forum.com/t/installing-ruby-miniruby-require-error/104103/2 "2007-05-15T08:46:09Z")

</div>

Bill wrote:

> Hi,
> 
> I’m trying to install ruby 1.8.6 on OS X.5. make is failing while  
> running miniruby mkconfig.rb while trying to require “fileutils”. The  
> oh-so-helpful error is simply “Abort trap”. This file exists in the  
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/  
> folder. I suspect there is a path that’s not being set correctly, but  
> am unable to figure it out. Any help is greatly appreciated. TIA.

Hi  
Can only offer this link, worked for me

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

---

<div class="post-metadata">

**Author:** ![bill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ac91a4/32.png) [@bill](https://www.ruby-forum.com/u/bill)\
**Post date:** [May 15, 2007, 1:02pm UTC](https://www.ruby-forum.com/t/installing-ruby-miniruby-require-error/104103/3 "2007-05-15T13:02:41Z")

</div>

On 15/05/07, Gunnar [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi  
> Can only offer this link, worked for me  
> [Dan Benjamin](http://hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx)

For me it does that because it loads the extensions form the  
previously installed ruby.  
I reported the problem but no sufficiently non-invasive solution was  
found. Since miniruby tries to load even extensions that are not built  
yet one would have to patch ruby to provide an option not to load the  
standard extensions (not including the standard lookup path).

However, for you it should be solved by configuring ruby with a prefix  
such as /opt/ruby.

That way you would not overwrite the system installation and would not  
get problems with previously installed extensions.

If you do not care about the system installation just move it away,  
including any /usr/lib/libruby\*, otherwise building the ruby  
interpreter fails (the linking issue will be hopefully fixed in next  
version).

Thanks

Michal
