Forum: Ruby on Rails Getting started, sort of

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
bachcole (Guest)
on 2009-02-26 00:04
(Received via mailing list)
I was working with:

The Rails Cookbook
A Ruby on Rails Crash Course
Brian H.

page 5

And I did this:

C:\ruby>gem install sqlite3-ruby

And I got this:

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
checking for fdatasync() in rt.lib... no
checking for sqlite3.h... no

'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/
.2.4 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/


Any help or ideas would be appreciated

Roger Bird
Eric (Guest)
on 2009-02-26 01:24
(Received via mailing list)
> Any help or ideas would be appreciated

Somewhere in here:
bachcole (Guest)
on 2009-02-26 01:44
(Received via mailing list)
This was not all that helpful.  I am sure that it is because I am
ignorant, but it was nevertheless not helpful.  What do I do?
Uninstall my current version of gem and install the earlier version?
Eric (Guest)
on 2009-02-26 02:09
(Received via mailing list)
You did ask for "any help," right? Well that's weird, then, because
from my computer the #1 hit on that search has the exact fix in the
comments. Not good enough?
groovetrain (Guest)
on 2009-02-26 05:12
(Received via mailing list)
I've no experience with running Ruby or sqlite3 on windows, but it
looks like the program nmake isn't working right.  I'll bet that's the
program used to build Ruby extensions for windows.  Here's what I'd

do a search for the file nmake, and if you find it, make sure it's in
your path.  The way I usually do this is just make a copy of it in
your windows folder or something.  If you can't find it, it's gotta
come with some software package, or maybe you can just download the
executable from somewhere.

Hope this helps, and sorry if it doesn't!  I totally understand not
being able to find something in google.  Check this out, maybe it will


P.S. Ease up, guys, let's not start a flame war.  No reason to spite.
Sergio S. (Guest)
on 2009-02-26 17:42
(Received via mailing list)
I think you should install an earlier version of sqlite, I think that
new version of sqlite is not ready for windows, or install mysql instead

2009/2/25 bachcole <removed_email_address@domain.invalid>
bachcole (Guest)
on 2009-02-26 21:54
(Received via mailing list)
I am sorry.  I was told that this is a supportive blog.  I guess I was
mistaken.  I guess it is just another place for people to hone their
putdown skills.

When I click on that link I get 4,380 websites.  Now, let me see.
Which one is the right on?  When I click on the first site I seem to
get something but, it seems to ramble and does not really give very
good directions.  Perhaps next time I should not ask for "any help"
but only "help for stupid people".

Roger Bird
bachcole (Guest)
on 2009-02-27 05:51
(Received via mailing list)
I fixed the problem with Eric's original post.  Like I said, I am
stupid.  End of this discussion.
Brian H. (Guest)
on 2009-03-11 05:11
(Received via mailing list)
Hey, I wrote that :)

Should have just sent me an email directly, I'd have helped you get it
working.  I'll update the cookbook to reflect that issue. Thanks for
reminding me.
This topic is locked and can not be replied to.