# Help getting dirwatch 0.90 running

**URL:** <https://www.ruby-forum.com/t/help-getting-dirwatch-0-90-running/76101>\
**Category:** Ruby\
**Created:** [November 15, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/help-getting-dirwatch-0-90-running/76101 "2006-11-15T20:59:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cremes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@cremes](https://www.ruby-forum.com/u/cremes)\
**Post date:** [November 15, 2006, 8:59pm UTC](https://www.ruby-forum.com/t/help-getting-dirwatch-0-90-running/76101/1 "2006-11-15T20:59:32Z")

</div>

I’d like to play around with dirwatch but I can’t seem to get it  
running.

After installing all of its dependencies (alib, sldb, lockfile, sqlite,  
modifying dirwatch.rb to also require rubygems), I started going through  
the tutorial. It fails immediately (though “dirwatch --help” runs  
correctly).

Any ideas?

cremes$ dirwatch $tmp create  
F, [2006-11-15T13:52:31.404874 #14975] FATAL – : uninitialized constant  
SQLite::BusyException (NameError)  
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:934:in  
`__busy_catch' /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:629:in`transaction’  
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:878:in  
`__synchronizing' /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:625:in`transaction’  
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:846:in  
`__bootstrap' /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:839:in`open’  
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:839:in  
`__bootstrap' /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:878:in`\_\_synchronizing’  
/opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:832:in  
`__bootstrap' /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:590:in`initialize’  
/opt/local/lib/ruby/site\_ruby/1.8/dirwatch-0.9.0/mainhelper.rb:72:in  
`new' /opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/mainhelper.rb:72:in`init\_db’  
/opt/local/lib/ruby/site\_ruby/1.8/dirwatch-0.9.0/creator.rb:63:in  
`create_db' /opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:29:in`create’  
/opt/local/lib/ruby/site\_ruby/1.8/dirwatch-0.9.0/creator.rb:25:in `open' /opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:25:in`create’  
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:283:in  
`lock' /opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in`attempt’  
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in  
`catch' /opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in`attempt’  
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in  
`loop' /opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:535:in`attempt’  
/opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:209:in  
`lock' /opt/local/lib/ruby/gems/1.8/gems/lockfile-1.4.0/lib/lockfile.rb:198:in`initialize’  
/opt/local/lib/ruby/site\_ruby/1.8/dirwatch-0.9.0/creator.rb:24:in `new' /opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/creator.rb:24:in`create’  
/opt/local/lib/ruby/site\_ruby/1.8/dirwatch-0.9.0/main.rb:102:in `send' /opt/local/lib/ruby/site_ruby/1.8/dirwatch-0.9.0/main.rb:102:in`main’  
/opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:321:in  
`run' /opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:355:in`logcatch’  
/opt/local/lib/ruby/gems/1.8/gems/alib-0.4.0/lib/alib-0.4.0/main.rb:310:in  
`run’  
/opt/local/bin/dirwatch:5

---

<div class="post-metadata">

**Author:** ![cremes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@cremes](https://www.ruby-forum.com/u/cremes)\
**Post date:** [January 18, 2008, 7:23pm UTC](https://www.ruby-forum.com/t/help-getting-dirwatch-0-90-running/76101/2 "2008-01-18T19:23:21Z")

</div>

Have you ever solved your problem?  
I am stucked at my first step on windows: what to do with the  
uncompressed “dirwatch-0.9.0” (I downloaded the “dirwatch-0.9.0.gz” file  
at  
[http://raa.ruby-lang.org/project/dirwatch/](http://raa.ruby-lang.org/project/dirwatch/) as I don’t know also what to  
do with the other files in the structure).  
What would be the step by step way of doing it?

Thanks for any hint,  
paulo

Chuck R. wrote:

> I’d like to play around with dirwatch but I can’t seem to get it  
> running.
> 
> After installing all of its dependencies (alib, sldb, lockfile, sqlite,  
> modifying dirwatch.rb to also require rubygems), I started going through  
> the tutorial. It fails immediately (though “dirwatch --help” runs  
> correctly).
> 
> Any ideas?
> 
> cremes$ dirwatch $tmp create  
> F, [2006-11-15T13:52:31.404874 #14975] FATAL – : uninitialized constant  
> SQLite::BusyException (NameError)  
> /opt/local/lib/ruby/gems/1.8/gems/sldb-0.2.0/lib/sldb.rb:934:in
