# Seg fault when installing Rails

**URL:** <https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942>\
**Category:** Rails\
**Created:** [September 19, 2007, 1:11am UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942 "2007-09-19T01:11:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 1:11am UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/1 "2007-09-19T01:11:38Z")

</div>

Ubuntu Fiesty

root@joehost:/home/joe/tmp/rubygems-0.9.4# gem install rails  
–include-dependencies  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
/usr/local/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault  
ruby 1.8.6 (2007-03-13) [i686-linux]

Aborted  
root@joehost:/home/joe/tmp/rubygems-0.9.4#

Any idea why?

Any super-secret Ruby / RubyGems / Rails dependencies I should know  
about?

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 4:33am UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/2 "2007-09-19T04:33:27Z")

</div>

On Sep 18, 2007, at 19:11 , Jarrod M. wrote:

> Any idea why?

Did you install the ruby-dev package?

– Mitch

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 7:39am UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/3 "2007-09-19T07:39:25Z")

</div>

Mitch P. wrote:

> On Sep 18, 2007, at 19:11 , Jarrod M. wrote:
> 
> > Any idea why?
> 
> Did you install the ruby-dev package?
> 
> – Mitch

Are you referring to liberuby and liberuby-dev? Yes. To no avail. I also  
installed build-essential and autoconf.

E

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 3:04pm UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/4 "2007-09-19T15:04:00Z")

</div>

On Sep 19, 2007, at 01:39 , Jarrod M. wrote:

> Are you referring to liberuby and liberuby-dev? Yes. To no avail. I  
> also  
> installed build-essential and autoconf.

There’s another one missing then - but I can’t find my debian notes,  
all I have is OS X argh! If I find them, I’ll send them over. There  
was a tutorial on the web that mentioned all the packages that were  
needed for rails to work properly on debian, will look for that URL too.

– Mitch

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/5 "2007-09-19T17:49:51Z")

</div>

Mitch P. wrote:

> On Sep 19, 2007, at 01:39 , Jarrod M. wrote:
> 
> > Are you referring to liberuby and liberuby-dev? Yes. To no avail. I  
> > also  
> > installed build-essential and autoconf.
> 
> There’s another one missing then - but I can’t find my debian notes,  
> all I have is OS X argh! If I find them, I’ll send them over. There  
> was a tutorial on the web that mentioned all the packages that were  
> needed for rails to work properly on debian, will look for that URL too.
> 
> – Mitch

Thanks for the info. I’ll try some more Googling. There are Ruby and  
RubyGems packages of course, but only Ruby 1.8.5, and the RubyGems one  
is broken I’ve heard. So I’m trying to install everything by building  
from source.

E

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/6 "2007-09-19T18:27:58Z")

</div>

I gave up on rails with ubuntu for precisely this reason. Good luck…  
I’ll be watching for a resolution on this.

---

<div class="post-metadata">

**Author:** ![eeby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecb155/32.png) [@eeby](https://www.ruby-forum.com/u/eeby)\
**Post date:** [September 19, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/seg-fault-when-installing-rails/114942/7 "2007-09-19T21:16:43Z")

</div>

Dave S. wrote:

> I gave up on rails with ubuntu for precisely this reason. Good luck…  
> I’ll be watching for a resolution on this.

Yes, Ruby on Ubuntu – strange that it’s so difficult. If I find a  
reliable answer I’ll follow up.
