# New to Ruby

**URL:** <https://www.ruby-forum.com/t/new-to-ruby/74963>\
**Category:** Ruby\
**Created:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/new-to-ruby/74963 "2006-11-07T11:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nalhawash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@nalhawash](https://www.ruby-forum.com/u/nalhawash)\
**Post date:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/new-to-ruby/74963/1 "2006-11-07T11:04:22Z")

</div>

Hi,

I tried to run the “hello” example and got an error:

hello.rb:10: [BUG] Bus Error ruby 1.6.6 (2001-12-26) [powerpc-darwin5.2]  
Abort trap

Any ideas.

Thanks,  
Nasser Alhawash

---

<div class="post-metadata">

**Author:** ![nalhawash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@nalhawash](https://www.ruby-forum.com/u/nalhawash)\
**Post date:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/new-to-ruby/74963/2 "2006-11-07T11:04:41Z")

</div>

Nasser Alhawash wrote:

> Nasser Alhawash

Welcome to Ruby!

Ruby 1.6.6 is a very old version of Ruby. I recommend that you uninstall  
it entirely and install the newest version. If you’re comfortable  
building Ruby from source you can get the newest version (1.8.5) here:  
[http://www.ruby-lang.org](http://www.ruby-lang.org). From the Ruby home page, click Downloads and  
then download the “Stable version” of Ruby 1.8.5. Or you can use  
DarwinPorts or Fink to install Ruby. There is no disk-image installer  
for Ruby on OS X.

If you need help post your questions here.

---

<div class="post-metadata">

**Author:** ![nalhawash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@nalhawash](https://www.ruby-forum.com/u/nalhawash)\
**Post date:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/new-to-ruby/74963/3 "2006-11-07T11:04:44Z")

</div>

Nasser Alhawash wrote:

> Nasser Alhawash  
> Hello,

I can recommend this guide to update your ruby version on your Mac.

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

Go up to “RubyGems”. After that you may skip the rest cause for now -  
if you just want to learn ruby - that will do it. You will need your  
Mac OS X DVD and install XCode from there to get GCC 4 for PPC. (GCC  
is a compiler).

If you are new to the Unix/Linux World this might help as well:

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

Alternative method:  
You may also try to update ruby via Macports (formely Darwinports):

> **[The MacPorts Project -- Home](https://www.macports.org/)**
>
> The MacPorts Project is an open-source community initiative to design an easy-to-use
> system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac
> OS X operating system.

Good Luck.

---

<div class="post-metadata">

**Author:** ![nalhawash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/9fc29f/32.png) [@nalhawash](https://www.ruby-forum.com/u/nalhawash)\
**Post date:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/new-to-ruby/74963/4 "2006-11-07T11:04:24Z")

</div>

Nasser Alhawash wrote:

> Hi,
> 
> I tried to run the “hello” example and got an error:
> 
> hello.rb:10: [BUG] Bus Error ruby 1.6.6 (2001-12-26) [powerpc-darwin5.2]  
> Abort trap
> 
> Any ideas.

A) What hello example?

B) Ruby 1.6.6 is older than the hills. Get a current version?

David V.
