Forum: Ruby error installing sqlite3

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.
Luis G. (Guest)
on 2009-04-14 07:32
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
Heesob P. (Guest)
on 2009-04-14 08:18
(Received via mailing list)
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.
Luis G. (Guest)
on 2009-04-14 08:25
> 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
This topic is locked and can not be replied to.