On Thu, Aug 28, 2008 at 7:13 AM, Kasper Frederiksen <
kasper@...>wrote:
> Hi Everyone,
>
> I am new to Ruby, and i keep getting stuck in the same place getting
> started.
>
> I hope someone is able to help me. I am trying to install sqlite3 and
> have been following several tutorials, and it all looke very simple, but
> i keep running in to this problem.
>
> I have installed ruby and gem.
>
> C:\>ruby -v
> ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]
>
> C:\>gem --version
> 1.2.0
>
> I have placed sqlite3.dll, sqlite3.def, sqlite3.exe in my c:\ruby\bin
>
> I keep getting the following error:
>
>
> ---------
> C:\>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' 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
>
> --------
>
>
> Does anyone have an idea what is wrong?
>
> Thanks for your help in advance.
>
> Kind regards,
>
> Kasper
> --
> Posted via
http://www.ruby-forum.com/.
>
>
try the sqlite3-ruby gem
--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."
-Greg Graffin (Bad Religion)