Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6128595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:38:40+00:00 2026-05-23T16:38:40+00:00

I run the following command and am seeing the below issue… $ sudo gem

  • 0

I run the following command and am seeing the below issue…

$ sudo gem install sqlite3-ruby
OR
$ sudo env ARCHFLAGS=”-arch x86_64″ gem install sqlite3-ruby
Building native extensions. This could take a while…
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb

mkmf.rb can’t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h

Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.3 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out

So its clear that I’m missing some headers, etc because the gods at Apple decided that I wouldn’t need that stuff.

Is there anyway I can install all this stuff without having to install XCode? Or do you guys recommend that I install XCode to get some other stuff … I just hate having to download that 4.5GB package.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:38:41+00:00Added an answer on May 23, 2026 at 4:38 pm

    You need to install XCode to get the development tools, including gcc which you need to compile the native C extensions in the sqlite3 gem.

    If you are doing any development on Mac OS X you will be endlessly frustrated until you install the developer tools. It is annoying, but much better than trying to get your own tools up an running by downloading binaries or something like that. Down that road lies madness.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've run the following command in the Ubuntu terminal - sudo apt-get install mono-develop
Based on this zlib-install-on-python , I need to run the following command ./configure –with-zlib=/usr/include
I run the following command in Emacs unsuccessfully C-u How can you clear the
I tried to run the following command and it says there is nothing to
If I run the following command: >python manage.py test Django looks at tests.py in
How can I run the following command using subprocess.Popen ? mysqldump database_name table_name |
Trying to run the following command in php to run powershell command... the following
I want to run the following command from a C program to read the
Normally if I run the following the following command in the rhino shell, mbp001:rhino1_7R2
I'm trying to run the following command: find . -iname '.#*' -print0 | xargs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.