PATH> gem install mack
Need to update 15 gems from http://gems.rubyforge.org
…
complete
Install required dependency mack_ruby_core_extensions? [Yn] y
Install required dependency application_configuration? [Yn] y
Install required dependency cachetastic? [Yn] y
Install required dependency thin? [Yn] y
Select which gem to install for your platform (i386-mswin32)
thin 0.8.0 (i386-mswin32)
thin 0.8.0 (ruby)
Skip this gem
Cancel installation
1
Install required dependency eventmachine? [Yn] y
Select which gem to install for your platform (i386-mswin32)
I tried to install do_sqlite3 → gem install do_sqlite3
But i got this error
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
Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/do_sqlite3-0.2
.5 for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/do_sqlite3-0.2.5/ext/gem_make.o
ut.
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 B. 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.
I am waiting for the new release of data mapper gem…
Hi Mark,
I have some experience in Rails. I want to catch all ruby gem frameworks
like waves,mack etc… Thats why i installed in my windows pc.I am using
mysql. Is it possible to solve this issue using mysql ?. I am working as
Tester in RailsFactory.I am using Watir,selenium for test the rails
application. Is it possible to test the Mack application with these
testing tools?. I think it is possible.Anyway, I want to work with mack
environment. Nice meeting(posting) Mark…
Hi Raveendran, you definitely can use MySQL with Mack. I would recommend
it over SQLite3, definitely. SQLite3 is great for getting started and
simple development, but you’ll definitely want to move to something a
bit more production ready like MySQL or PostgreSQL.
As far as using watir and selenium, those are tools designed to drive a
web app, they should work with any framework. You should be all set.
Like always, anything I can do to make Mack better.
-Mark
Raveendran J. wrote:
Hi All,
I am waiting for the new release of data mapper gem…
Hi Mark,
I have some experience in Rails. I want to catch all ruby gem frameworks
like waves,mack etc… Thats why i installed in my windows pc.I am using
mysql. Is it possible to solve this issue using mysql ?. I am working as
Tester in RailsFactory.I am using Watir,selenium for test the rails
application. Is it possible to test the Mack application with these
testing tools?. I think it is possible.Anyway, I want to work with mack
environment. Nice meeting(posting) Mark…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.