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 8474783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:43:02+00:00 2026-06-10T17:43:02+00:00

Since this morning I can’t install the sqlite3 gem on my rails projects… when

  • 0

Since this morning I can’t install the sqlite3 gem on my rails projects…

when I run gem install sqlite3 I get

Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
        ERROR: Failed to build gem native extension.

        /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for sqlite3.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
        --with-sqlite3-dir
        --without-sqlite3-dir
        --with-sqlite3-include
        --without-sqlite3-include=${sqlite3-dir}/include
        --with-sqlite3-lib
        --without-sqlite3-lib=${sqlite3-dir}/lib
        --enable-local
        --disable-local
/Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:506:in `try_cpp'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:970:in `block in find_header'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:790:in `block in checking_for'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:284:in `block (2 levels) in postpone'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:284:in `block in postpone'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:254:in `open'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:280:in `postpone'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:789:in `checking_for'
        from /Users/Jonathan/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:969:in `find_header'
        from extconf.rb:34:in `<main>'


Gem files will remain installed in /Users/Jonathan/.rvm/gems/ruby-1.9.3-p194/gems/sqlite3-1.3.6 for inspection.
Results logged to /Users/Jonathan/.rvm/gems/ruby-1.9.3-p194/gems/sqlite3-1.3.6/ext/sqlite3/gem_make.out

After searching for the problem I found almost similar problems fixed with gem install sqlite3 -- --with-sqlite3-dir=/opt/local but it tells me
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Users/Jonathan/.rvm/gems/ruby-1.9.3-p194/gems/sqlite3-1.3.6/API_CHANGES.rdoc

I pretty new to programming/terminal/etc. so I don’t really know what to do. I did other projects without any problem or error, and I don’t think I changed anything… I just started to do the blog application from the rails guide, and went through an error about sqlite3 when I ran rake db:create.

  • 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-06-10T17:43:04+00:00Added an answer on June 10, 2026 at 5:43 pm

    In the end it was some permissions problems etc. Didn’t find how to fix it so I just reinstalled all my environment by running RailsInstaller, reinstalling Xcode and the Command line tool, and clearing what brew doctor told me to do.

    now it works again 🙂

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

Sidebar

Related Questions

Since this morning I can't get one of my pages working. The error message:
Since yesterday it worked, but this morning, I can't figure out why, my app
Since this morning Maven can not build any project that requires tomcat-maven-plugin. I tried
This morning I truncated my transaction before it's hourly backup. Since I truncated the
UPDATE 1/31/10 : Since this thread continues to get a lot of views...I am
Am looking into developing an iPhone native app using Titanium Developer Since this is
I had a small WTF moment this morning. Ths WTF can be summarized with
I've been trying to solve this problem since this morning, and I know I'm
I am some problems since this morning with my Selenium Test. I created a
I searched Google for a question I ask myself since this morning but couldn't

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.