Tom Cloyd wrote:

>I don't see why this should do anything. And it doesn't. 
>
It does something interesting, nevertheless.

Instiki, as packaged, uses SQLite3 for database. This requires a 
precompiled SQLite library. instiki.cmd is a shell script that adds the 
directory containing the SQLite library to the system path, so that 
Instiki (or, to be more accurate, DBI driver for SQLite) can find it 
there. Then it calls 'ruby instiki'.

You might also copy contents of instiki\lib\native\win32\ to some place 
that's already on the PATH, such as C:\WINNT\System32\

By the way, that shell script is, indeed, too simple. Double click on it 
works, but try calling it from another working directory, or passing 
arguments into it. Not supported.
So, if you wants to help this project, here is one thing you can do - a 
decent launcher script for Win and/or Linux. As far as Windows is 
concerned, launcher script from Ant is probably a good starting point, 
it is very comprehensive, as far as I remember.

>The OS says this "is not recognized". 
>
Hmm... Any Windows starting from Win NT should recognize it. An older 
Windows, something like Win 98, wouldn't know what a .cmd file is, but 
2000, XP and 2003 all support the .cmd.

Alex
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to