From: Luis Lavena Date: 2008-04-26T02:50:07+09:00 Subject: Re: Ruby -- Mack Framework On Apr 25, 11:53 am, Vidar Hokstad wrote: > On Apr 23, 7:22 am, Raveendran Jazzez wrote: > > > C:\New Folder\trails\blog2>gem install do_sqlite3 > > Building native extensions. This could take a while... > > ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) > > ERROR: Failed to build gem native extension. > > > ruby extconf.rb install do_sqlite3 > > extconf.rb:1:in ``': No such file or directory - uname -sr > > (Errno::ENOENT) > > from extconf.rb:1 > > This looks like the do_sqlite3 gem depends on the "uname" command to > identify what type of system it's running on. > Unfortunately that doesn't work on Windows at all. Your best bet is to > either track down the person who created > that gem and see if he'll fix it, download the source and fix the gem > yourself, or do what Mark Bates suggested and > use one of the other supported databases. You could "fake it" by > creating a script or executable named 'uname' or > maybe even an alias, but if it takes actions based on the output > generated by uname it's quite likely it'll > contain other dependencies on Unix/Linux. > There's work being done for fixing DO and get proper Windows support. That will be part of 0.9 release of DataMapper, nothing more to say for now than read my blog :-) http://blog.mmediasys.com/2008/04/24/contributions-speedup-and-less-quirks-for-us/ Regards, -- Luis Lavena