On Sunday, September 21, 2003, 7:24:56 AM, Harry wrote:
> OK. Once I made both testrj and rj itself unix format it seems to be
> working fine!
Is that in "project" mode and in "installed" mode?
In case I didn't explain it enough before:
- testrj runs bin/rj, and uses ruby -I./lib, so that lib/rj/rj.rb
will be loaded. This is to enable you to run local code, not
"installed" code
- however, rj will still look for the *data* in the "installed"
location (/usr/local/share/rj), which is obviously a bummer if
you haven't installed it
- therefore, I added the -p flag to tell rj to use the data in
./data/rj instead
That means:
- you can run it without installing it (obviously a minor benefit)
- I can test the project code and data without having to install
it all the time (that was getting a bit thin, I tell ya)
testrj probably should use "-p" by default. Consider it committed.
> [...]
Gavin
|