Forum: Ruby on Rails Getting started, sort of

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9521db9288a4b372ec05560561357f6d?d=identicon&s=25 bachcole (Guest)
on 2009-02-25 23:04
(Received via mailing list)
I was working with:

The Rails Cookbook
A Ruby on Rails Crash Course
Brian Hogan

http://www.napcs.com/resources/rails/cookbook/rail...

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
'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

C:\ruby>

Any help or ideas would be appreciated

Roger Bird
D93ae163042e0a937941e0ba4d8ed5d7?d=identicon&s=25 Eric (Guest)
on 2009-02-26 00:24
(Received via mailing list)
> Any help or ideas would be appreciated

Somewhere in here:
http://www.google.com/search?q=windows+sqlite3-rub...
9521db9288a4b372ec05560561357f6d?d=identicon&s=25 bachcole (Guest)
on 2009-02-26 00: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?
D93ae163042e0a937941e0ba4d8ed5d7?d=identicon&s=25 Eric (Guest)
on 2009-02-26 01: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?
58d6a4ff6f074c3f357ba291342e312e?d=identicon&s=25 groovetrain (Guest)
on 2009-02-26 04: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:

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
help:
http://stackoverflow.com/questions/43778/sqlite3-r...

Groove

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

2009/2/25 bachcole <rogerbird1@msn.com>
9521db9288a4b372ec05560561357f6d?d=identicon&s=25 bachcole (Guest)
on 2009-02-26 20: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
9521db9288a4b372ec05560561357f6d?d=identicon&s=25 bachcole (Guest)
on 2009-02-27 04:51
(Received via mailing list)
I fixed the problem with Eric's original post.  Like I said, I am
stupid.  End of this discussion.
6ef8cb7cd7cd58077f0b57e4fa49a969?d=identicon&s=25 Brian Hogan (Guest)
on 2009-03-11 04: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.