Installing per Simply Rails 2
I have tried installing Instant Rails 2.0 on my Vista 64-bit system (Home premium version)
Downloading, unzipping, and initial installation went fine.
On page 19 of the book:
C:\InstantRails\rails_apps>gem update --system
Seemed to work - lots of messages - no errors
Successfully installed rails-2.2.2
Building native extensions. This could take awhile...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
C:/InstantRails/ruby/bin/ruby.exe extconf.rb update
checking for ftdatasync() in rt.lib... no
checking for sqlite3.h... no
'nmake' is not recognized as an internal or external command,
operable program or batch file.
Gem files will remain installed in C:/InstantRails/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.
Results logged to C:/InstantRails/ruby/gems/1.8/gems/sqlite3-ruby 1.2.4/ext/sqlite3_api/gem_make.out
Are there any suggestions?
I have been writing C, C#, HTML, Java, and Visual basic on this computer. This is my first attempt at Ruby.