# New user, please help!

**URL:** <https://www.ruby-forum.com/t/new-user-please-help/149167>\
**Category:** Rails\
**Created:** [September 22, 2008, 6:47am UTC](https://www.ruby-forum.com/t/new-user-please-help/149167 "2008-09-22T06:47:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 22, 2008, 6:47am UTC](https://www.ruby-forum.com/t/new-user-please-help/149167/1 "2008-09-22T06:47:37Z")

</div>

Hi, I’m new to everything so I was just reading this apple page trying  
to get things set up.  
[http://developer.apple.com/tools/developonrailsleopard.html](http://developer.apple.com/tools/developonrailsleopard.html)

Anyways I get to the “sudo gem update sqlite3-ruby” step after running  
the first 3 and I get this error… Can someone please give me exact  
steps to help me correct this. I really don’t have any experience so if  
you could write things out verbatim it would be really appreciated!

HERE IS WHAT SHOWS UP:  
sudo gem update sqlite3-ruby  
Password:  
Updating installed gems  
Updating sqlite3-ruby  
Building native extensions. This could take a while…  
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)  
ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby  
extconf.rb update sqlite3-ruby  
can’t find header files for ruby.

Gem files will remain installed in  
/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.  
Results logged to  
/Library/Ruby/Gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3\_api/gem\_make.out

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 22, 2008, 8:56am UTC](https://www.ruby-forum.com/t/new-user-please-help/149167/2 "2008-09-22T08:56:46Z")

</div>

On Sep 22, 5:47 am, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi, I’m new to everything so I was just reading this apple page trying  
> to get things set up.[http://developer.apple.com/tools/developonrailsleopard.html](http://developer.apple.com/tools/developonrailsleopard.html)
> 
> Anyways I get to the “sudo gem update sqlite3-ruby” step after running  
> the first 3 and I get this error… Can someone please give me exact  
> steps to help me correct this. I really don’t have any experience so if  
> you could write things out verbatim it would be really appreciated!

Dumb question: you do have the developer tools installed right ?

Fred

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 22, 2008, 11:18pm UTC](https://www.ruby-forum.com/t/new-user-please-help/149167/3 "2008-09-22T23:18:58Z")

</div>

Frederick C. wrote:

> On Sep 22, 5:47ï¿½am, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hi, I’m new to everything so I was just reading this apple page trying  
> > to get things set up.[http://developer.apple.com/tools/developonrailsleopard.html](http://developer.apple.com/tools/developonrailsleopard.html)
> > 
> > Anyways I get to the “sudo gem update sqlite3-ruby” step after running  
> > the first 3 and I get this error… Can someone please give me exact  
> > steps to help me correct this. I really don’t have any experience so if  
> > you could write things out verbatim it would be really appreciated!
> 
> Dumb question: you do have the developer tools installed right ?
> 
> Fred

Yeah I have it, but I don’t think it has anything to do with it does it?

---

<div class="post-metadata">

**Author:** ![tbcox23](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Post date:** [September 23, 2008, 9:49am UTC](https://www.ruby-forum.com/t/new-user-please-help/149167/4 "2008-09-23T09:49:31Z")

</div>

On Sep 22, 10:18 pm, Tom C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > Dumb question: you do have the developer tools installed right ?
> 
> > Fred
> 
> Yeah I have it, but I don’t think it has anything to do with it does it?

It does - you can’t compile a native gem like sqlite3 without the  
developer tools installed and that error message is saying “i couldn’t  
find some build related things”

Fred
