# Fixrbconfig broken in 10.4.3

**URL:** <https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508>\
**Category:** Ruby\
**Created:** [November 21, 2005, 5:16pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508 "2005-11-21T17:16:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 21, 2005, 5:16pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/1 "2005-11-21T17:16:40Z")

</div>

I get an error saying that ruby.h cannot be found please install dev  
tools but i have dev tools installed and ruby.h is there when i use  
locate. I have no idea how to fix this, did 10.4.3 fix the problems  
previously there with 10.4’s broken ruby? Can I compile my own and have  
it work? Where can I go from here because I was told to use the ruby  
howto on technoblog.

---

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 22, 2005, 2:53pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/2 "2005-11-22T14:53:22Z")

</div>

On 11/21/05, Rawn027 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I get an error saying that ruby.h cannot be found please install dev  
> tools but i have dev tools installed and ruby.h is there when i use  
> locate. I have no idea how to fix this, did 10.4.3 fix the problems  
> previously there with 10.4’s broken ruby? Can I compile my own and have  
> it work? Where can I go from here because I was told to use the ruby  
> howto on technoblog.

Hello

You can install fink, and use the fink package of ruby. Since ruby  
does need some tweaking to build on OS X you should probably try  
installing some package management system (fink, darwinports,  
gentoo,…) that provides a collection of patches that makes ruby work  
(more or less) seamlessly on OS X.

hth

Michal

–  
Support the freedom of music!  
Maybe it’s a weird genre … but weird is _not_ illegal.  
Maybe next time they will send a special forces commando  
to your picnic … because they think you are weird.  
[www.music-versus-guns.org](http://www.music-versus-guns.org)[http://en.policejnistat.cz](http://en.policejnistat.cz)

---

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 22, 2005, 3:21pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/3 "2005-11-22T15:21:33Z")

</div>

On 22 Nov 2005, at 13:50, Michal S. wrote:

> You can install fink, and use the fink package of ruby. Since ruby  
> does need some tweaking to build on OS X you should probably try  
> installing some package management system (fink, darwinports,  
> gentoo,…) that provides a collection of patches that makes ruby work  
> (more or less) seamlessly on OS X.
> 
> hth
> 
> Michal

Ruby is trivial to install on OS X without using fink and friends.

Assuming you have downloaded it already, navigate to the folder  
within a terminal window.  
Type (as per the readme)  
./configure  
make  
make test  
sudo make install  
(this will prompt you for your password)

This will place a copy of ruby in /usr/local/bin. Include this in  
your path. For csh edit your .cshrc file in your home directory and  
add the line (or modify it):  
set path = (/usr/local/bin $path)

and either open a new terminal window or type rehash to make the new  
path available.

I did just this a few days ago on 10.4.3 and it works like a charm.

Dave.

---

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 22, 2005, 5:54pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/4 "2005-11-22T17:54:40Z")

</div>

On 11/22/05, Dave B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > > howto on technoblog.
> > 
> > Michal
> 
> Ruby is trivial to install on OS X without using fink and friends.

What version did you use?  
1.8.3 uses char \*\* environ which is not present on OS X (there is some  
function instead).  
Extensions are by default linked with -undefined suppress, which  
happily installs extensions for which there are no suitable libaries  
on the system.  
It installs binary extensions into arch directory that includes the  
darwin major and minor version number in tits name. At least the minor  
is going to change as you install updates which will make the  
extensions inacessible when you update the interpreter as well.

> Assuming you have downloaded it already, navigate to the folder  
> within a terminal window.  
> Type (as per the readme)
> 
> ./configure  
> make  
> make test  
> sudo make install

If this worked it would be nice 🙂

But it does not on 10.3.9, and it reportedly fails on 10.4.

Thanks

Michal

–  
Support the freedom of music!  
Maybe it’s a weird genre … but weird is _not_ illegal.  
Maybe next time they will send a special forces commando  
to your picnic … because they think you are weird.  
[www.music-versus-guns.org](http://www.music-versus-guns.org)[http://en.policejnistat.cz](http://en.policejnistat.cz)

---

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 22, 2005, 6:26pm UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/5 "2005-11-22T18:26:52Z")

</div>

On 22 Nov 2005, at 16:52, Michal S. wrote:

> > > > have  
> > > > work  
> > > > (more or less) seamlessly on OS X.
> > > 
> > > hth
> > > 
> > > Michal
> > 
> > Ruby is trivial to install on OS X without using fink and friends.
> 
> What version did you use?

dave 1% which ruby  
/usr/local/bin/ruby  
dave 2% ruby -v  
ruby 1.8.3 (2005-09-21) [powerpc-darwin8.2.2]  
dave 3%

OS X 10.4.3, build 8F46

I haven’t noticed any problems.

Dave.

---

<div class="post-metadata">

**Author:** ![rawn027](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@rawn027](https://www.ruby-forum.com/u/rawn027)\
**Post date:** [November 23, 2005, 12:01am UTC](https://www.ruby-forum.com/t/fixrbconfig-broken-in-10-4-3/48508/6 "2005-11-23T00:01:15Z")

</div>

On 11/22/05, Dave B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 22 Nov 2005, at 16:52, Michal S. wrote:
> 
> > On 11/22/05, Dave B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> > 
> > > On 22 Nov 2005, at 13:50, Michal S. wrote:

> I haven’t noticed any problems.

Now it works for me as well. Perhaps there was an update?  
environ certainly used to be broken on OS X.

good to know.

Thanks

Michal

–  
Support the freedom of music!  
Maybe it’s a weird genre … but weird is _not_ illegal.  
Maybe next time they will send a special forces commando  
to your picnic … because they think you are weird.  
[www.music-versus-guns.org](http://www.music-versus-guns.org)[http://en.policejnistat.cz](http://en.policejnistat.cz)
