I was working with: The Rails Cookbook A Ruby on Rails Crash Course Brian Hogan napcs.com/resources/rails/cookbook/rails_cookbook.pdf 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> Any help or ideas would be appreciatedSomewhere in here: google.com/search?q=windows+sqlite3-ruby+native+extension --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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? On Feb 25, 4:23 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Any help or ideas would be appreciated > > Somewhere in here:google.com/search?q=windows+sqlite3-ruby+native+extension--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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? On Feb 25, 3:43 pm, bachcole <rogerbi...-uAjRD0nVeow@public.gmane.org> wrote:> 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? > > On Feb 25, 4:23 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Any help or ideas would be appreciated > > > Somewhere in here:google.com/search?q=windows+sqlite3-ruby+native+extension--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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: stackoverflow.com/questions/43778/sqlite3-ruby-gem-failed-to-build-gem-native-extension Groove P.S. Ease up, guys, let''s not start a flame war. No reason to spite. On Feb 25, 6:43 pm, bachcole <rogerbi...-uAjRD0nVeow@public.gmane.org> wrote:> 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? > > On Feb 25, 4:23 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Any help or ideas would be appreciated > > > Somewhere in here:google.com/search?q=windows+sqlite3-ruby+native+extension--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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-uAjRD0nVeow@public.gmane.org>> > 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? > > On Feb 25, 4:23 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Any help or ideas would be appreciated > > > > Somewhere in here: > google.com/search?q=windows+sqlite3-ruby+native+extension > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Feb 25, 5:09 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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? > > On Feb 25, 3:43 pm, bachcole <rogerbi...-uAjRD0nVeow@public.gmane.org> wrote: > > > 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? > > > On Feb 25, 4:23 pm, Eric <ericgh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Any help or ideas would be appreciated > > > > Somewhere in here:google.com/search?q=windows+sqlite3-ruby+native+extension--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I fixed the problem with Eric''s original post. Like I said, I am stupid. End of this discussion. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Thu, Feb 26, 2009 at 10:50 PM, bachcole <rogerbird1-uAjRD0nVeow@public.gmane.org> wrote:> > I fixed the problem with Eric''s original post. Like I said, I am > stupid. End of this discussion. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---