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

  • Home
  • SEARCH
  • 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 39939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:56:39+00:00 2026-05-10T14:56:39+00:00

Update: Check out this follow-up question: Gem Update on Windows – is it broken?

  • 0

Update: Check out this follow-up question: Gem Update on Windows – is it broken?


On Windows, when I do this:

gem install sqlite3-ruby 

I get the following error:

Building native extensions.  This could take a while... ERROR:  Error installing sqlite3-ruby:         ERROR: Failed to build gem native extension.  c:/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby --platform Win32 checking for fdatasync() in rt.lib... no checking for sqlite3.h... no  nmake 'nmake' is not recognized as an internal or external command, operable program or batch file.   Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out 

Same thing happens with the hpricot gem. I seem to remember these gems installed just fine on < 1.0 gems, but now I’m on 1.2.0, things have gone screwy.

I have also tried this:

gem install sqlite3-ruby --platform Win32 

Needless to say, this doesn’t work either (same error)

Does anyone know what is going on here and how to fix this?


Update: Check out this follow-up question: Gem Update on Windows – is it broken?

  • 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. 2026-05-10T14:56:40+00:00Added an answer on May 10, 2026 at 2:56 pm

    As Nathan suggests, this does appear to be related to the fact that the latest versions of the sqlite3-ruby and hpricot gems don’t appear to have Windows versions. Here’s what to do when faced with this situation (note, the name of the gem is automatically wildcarded, so you can type just sql and get a list of all gems beginning with sql):

    $ gem list --remote --all sqlite  *** REMOTE GEMS ***  sqlite (2.0.1, 2.0.0, 1.3.1, 1.3.0, 1.2.9.1, 1.2.0, 1.1.3, 1.1.2, 1.1.1, 1.1) sqlite-ruby (2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.0, 2.0.3, 2.0.2) sqlite3-ruby (1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.1, 1.0.0, 0.9.0, 0.6.0, 0.5.0) 

    Then you can choose the version you would like to install:

    gem install sqlite3-ruby -v 1.2.3 

    To successfully install hpricot, I did this:

    gem install hpricot -v 0.6 

    Annoyingly, doing a gem update tries to update the gems to their latest, broken-on-Windows, versions. When the update routine encounters an error, it ditches you out of the whole process. There’s a (hacky) solution to this problem here.

    So, is this issue a bug in gems? Should gems not automatically detect the platform and install the latest compatible version?

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

Sidebar

Ask A Question

Stats

  • Questions 90k
  • Answers 90k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer As an alternative, if you don't want to create config… May 11, 2026 at 6:05 pm
  • Editorial Team
    Editorial Team added an answer You cannot do it with the standard fstream, you'll have… May 11, 2026 at 6:05 pm
  • Editorial Team
    Editorial Team added an answer Go to Tools->Import and Export Settings, then "Reset all settings".… May 11, 2026 at 6:05 pm

Related Questions

Update: Check out this follow-up question: Gem Update on Windows - is it broken?
I have a little issue that's causing my automated builds to fall over. When
This question is a follow up to my question about sharing resources between web
Greetings to all! This is my first question here on stackoverflow. I have a
I am using an SVN repository for my web development work. I have a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.