Error installing sqlite3


#1

Hi,

i’m new to Rails and this is my first post. I need help with the
installation of sqlite, i got the next error when i typed “gem install
sqlite3-ruby”:

c:\ruby>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:/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby
checking for fdatasync() in rt.lib… no
checking for sqlite3.h… no

nmake
“nmake” no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

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

some ideas?
please help. Thanks


#2

Hi,

2009/4/14 Luis G. removed_email_address@domain.invalid:

    ERROR: Failed to build gem native extension.
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

some ideas?
please help. Thanks
Try
gem install sqlite3-ruby -v 1.2.3

Refer to http://www.ruby-forum.com/topic/145411

Regards,

Park H.


#3

gem install sqlite3-ruby -v 1.2.3

Refer to http://www.ruby-forum.com/topic/145411

Regards,

Park H.

Thank you very much. it works perfectly