# Kwala v0.1 Release

**URL:** <https://www.ruby-forum.com/t/kwala-v0-1-release/79237>\
**Category:** Ruby\
**Created:** [December 13, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/kwala-v0-1-release/79237 "2006-12-13T15:16:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zev\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Post date:** [December 13, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/kwala-v0-1-release/79237/1 "2006-12-13T15:16:27Z")

</div>

This is the first public release of Kwala.

[http://kwala.rubyforge.org](http://kwala.rubyforge.org)

Kwala is a command line build tool to check the “quality” of Ruby  
source code. It is composed of various actions that perform different  
types of checks against the code such as code duplication, cyclomatic  
complexity, code coverage, unit tests, lines of code, various  
formatting checks and require cycles. The results are then presented  
in an HTML summary page and detailed pages for reference.

Kwala has been in use for a large project for over a year, but this is  
the first public release of it. If you have any problems installing  
or running the application please let me know.

Any feedback or additional actions are appreciated.

Zev

---

<div class="post-metadata">

**Author:** ![Zev\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Post date:** [December 13, 2006, 5:02pm UTC](https://www.ruby-forum.com/t/kwala-v0-1-release/79237/2 "2006-12-13T17:02:45Z")

</div>

On 12/13/06, Zev B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Kwala has been in use for a large project for over a year, but this is  
> the first public release of it. If you have any problems installing  
> or running the application please let me know.
> 
> Any feedback or additional actions are appreciated.

Nice! Thanks for making this available.

---

<div class="post-metadata">

**Author:** ![Zev\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Post date:** [December 13, 2006, 10:01pm UTC](https://www.ruby-forum.com/t/kwala-v0-1-release/79237/3 "2006-12-13T22:01:40Z")

</div>

This looks great! Will it work in windows? I’m on XP with 1.8.5. I  
installed amrita and kwala with their respective setup.rb’s.

At first I couldn’t get it to find kwala:

C:\Documents\CCC\spt\source\canada-branch\>kwala  
‘kwala’ is not recognized as an internal or external command,  
operable program or batch file.

same for ruby kwala, kwala.bat… But I got it by specifying the entire  
path. Now I get:

C:\Documents\CCC\spt\source\canada-branch\>ruby  
c:\Development\ruby\bin\kwala -p spt -d . -o builds -a syntax\_check -a  
fo  
rmatting -a unit\_test -a cyclomatic -a cycles  
c:/development/ruby/lib/ruby/site\_ruby/1.8/kwala/actions/unit\_test.rb:101:in  
``’: No such file or directory - /usr/bin/e  
nv ruby -v (Errno::ENOENT)  
from  
c:/development/ruby/lib/ruby/site\_ruby/1.8/kwala/actions/unit\_test.rb:101:in  
`ruby_version' from c:/development/ruby/lib/ruby/site_ruby/1.8/kwala/actions/unit_test.rb:69:in`summary\_display’  
from c:/Development/ruby/bin/kwala:164  
from c:/Development/ruby/bin/kwala:163:in `each’  
from c:/Development/ruby/bin/kwala:163

/usr/bin/env looks like it’s expecting a \*nix environment so I tried it  
in cygwin, unfortunately couldn’t get it to find kwala at all:

Andrew R.@andrewlaptop  
/cygdrive/c/Documents/CCC/spt/source/canada-branch  
$ ruby /cygdrive/c/Development/ruby/bin/kwala  
c:\development\ruby\bin\ruby.exe: No such file or directory –  
/cygdrive/c/Devel  
opment/ruby/bin/kwala (LoadError)

-Andrew

---

<div class="post-metadata">

**Author:** ![Zev\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/eb8c5e/32.png) [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Post date:** [December 14, 2006, 4:18am UTC](https://www.ruby-forum.com/t/kwala-v0-1-release/79237/4 "2006-12-14T04:18:38Z")

</div>

On Thu, 14 Dec 2006 06:00:07 +0900, Andrew R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> This looks great! Will it work in windows? I’m on XP with 1.8.5. I  
> installed amrita and kwala with their respective setup.rb’s.

[Snip useful information about environment]

> /usr/bin/env looks like it’s expecting a \*nix environment so I tried it  
> in cygwin, unfortunately couldn’t get it to find kwala at all:

Yes I am sorry I have not yet tried to get it to work on Windows. At  
the moment there are a few assumptions for /usr/bin/env with various  
applications that I call from Kwala. Unfortunately, I do not have a  
Windows machine to test with. If anyone has some suggestions on how  
to better use setup.rb for a Windows environment I am all ears.

Thanks,  
Zev
