Bugs: Browse | Submit New | Admin

[#23001] Error installing sqlite3-ruby

Date:
2008-11-26 03:46
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Closed
Summary:
Error installing sqlite3-ruby

Detailed description
-- Capture --
 $gem install sqlite3-ruby
 Building native extensions.  This could take a while...
 ERROR:  Error installing sqlite3-ruby:
 ERROR: Failed to build gem native extension.

 C:/RoR/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby
 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.
-- end of capture ---

---------------------------
Workaround that worked at:
 http://blog.muse.net.nz/2008/09/07/setup-rails-on-windows-to-use-sqlite3/
---------------------------
 from there:

 not good!! nmake shouldn’t be necessary for installing a gem. Turns out we  need to instead use:

 D:\ruby\bin>gem install --version 1.2.3 sqlite3-ruby
 Successfully installed sqlite3-ruby-1.2.3-x86-mswin32
 1 gem installed
 Installing ri documentation for sqlite3-ruby-1.2.3-x86-mswin32...
 Installing RDoc documentation for sqlite3-ruby-1.2.3-x86-mswin32...which  works a treat. I expect this will trip up
a fair few people so hope this helps  the happy googlers.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-07-09 07:18
Sender: Luis Lavena

Hello,

Thank you for your report. This issue has been addressed in the
codebase and binary versions for Windows will be released in
the next few days, along with compatibility details for Ruby 1.9

I'm closing this for now. Thank you again.
Date: 2009-01-05 19:27
Sender: colm nelliga

thanks for the post!

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2009-07-09 07:18luislavena
resolution_idNone2009-07-09 07:18luislavena
close_date2009-07-09 07:182009-07-09 07:18luislavena