new user, please help!

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

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

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

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

Frederick Cheung wrote:

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