# Ruby -- Mack Framework

**URL:** <https://www.ruby-forum.com/t/ruby-mack-framework/135573>\
**Category:** Ruby\
**Created:** [April 23, 2008, 8:22am UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573 "2008-04-23T08:22:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 23, 2008, 8:22am UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/1 "2008-04-23T08:22:12Z")

</div>

Hi All,

Mack is a framework using ruby. I followed this link to work with this  
framework.

[http://www.mackframework.com/2008/04/18/046-the-obligatory-blog-demo-take-2/](http://www.mackframework.com/2008/04/18/046-the-obligatory-blog-demo-take-2/)

I installed Following gems

PATH\> gem install mack  
Need to update 15 gems from [http://gems.rubyforge.org](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)

1. thin 0.8.0 (i386-mswin32)
2. thin 0.8.0 (ruby)
3. Skip this gem
4. Cancel installation

> 1  
> Install required dependency eventmachine? [Yn] y  
> Select which gem to install for your platform (i386-mswin32)

1. eventmachine 0.8.1 (i386-mswin32)
2. eventmachine 0.8.1 (ruby)
3. Skip this gem
4. Cancel installation

> 1  
> Install required dependency crypt? [Yn] y  
> Successfully installed mack-0.4.6  
> Successfully installed mack\_ruby\_core\_extensions-0.1.5  
> Successfully installed application\_configuration-1.2.2  
> Successfully installed cachetastic-1.4.2  
> Successfully installed thin-0.8.0-i386-mswin32  
> Successfully installed eventmachine-0.8.1-i386-mswin32  
> Successfully installed crypt-1.1.4

AND also installed these two…

gem install memcache-client

gem install datamapper

Finally i un the server

> rake server  
> it says need to install do\_sqlite3

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.

Please Help to me continue to run the Application

Regards,  
P.Raveendran  
RailsFactory  
removed\_email\_address@domain.invalid

> **[Raveendran](https://raveendran.wordpress.com)**
>
> Nothing is impossible...

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 24, 2008, 4:33am UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/2 "2008-04-24T04:33:21Z")

</div>

Does the system have sqlite3 installed?  
If not it probably needs it. Probably also needs a compiler to build  
the native gems.

RF

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 25, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/3 "2008-04-25T14:50:29Z")

</div>

Raveendran you can also use MySQL or PostgreSQL. They’re both supported  
by DataMapper, and are recommended over SQLite.

I would also love to know your experiences with Mack on Windows. I  
developed it on OS X and haven’t done a lot of Windows testing yet.

-Mark

> **[Home - Mack Frame Work](http://www.mackframework.com)**
>
> Play Live Casino Games From Home A unique platform that offers valuable casino gameplays in the most amazing way possible! Read More Blackjack Beat the live dealer! Roulette Bet on red on black with numbers. Poker Brush up your card skills! HUGE...

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 25, 2008, 4:56pm UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/4 "2008-04-25T16:56:21Z")

</div>

On Apr 23, 7:22 am, Raveendran J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 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.

Vidar

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 25, 2008, 7:51pm UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/5 "2008-04-25T19:51:14Z")

</div>

On Apr 25, 11:53 am, Vidar H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ```
> > from extconf.rb:1
> > 
> > ```
> 
> 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/](http://blog.mmediasys.com/2008/04/24/contributions-speedup-and-less-quirks-for-us/)

Regards,

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 26, 2008, 5:47am UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/6 "2008-04-26T05:47:06Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![jazzezravi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/71e660/32.png) [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Post date:** [April 26, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573/7 "2008-04-26T16:04:07Z")

</div>

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

> **[Home - Mack Frame Work](http://www.mackframework.com)**
>
> Play Live Casino Games From Home A unique platform that offers valuable casino gameplays in the most amazing way possible! Read More Blackjack Beat the live dealer! Roulette Bet on red on black with numbers. Poker Brush up your card skills! HUGE...

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…
