[Alexandria-list] DevEnv setup
Cathal Mc Ginley
cathal.alexandria at gnostai.org
Fri Apr 18 17:17:28 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, 18 Apr 2008 13:14:06 -0400
"Joseph Method" <tristil at gmail.com> wrote:
> My work pattern is edit a file in the source tree, sudo rake install,
> run alexandria. If we want to make alexandria runnable from the source
> tree, we have to make the require statements always use relative
> lookup. This is:
>
Actually, for testing modifications the Ruby code itself, I do the
following from the alexandria source directory:
RUBYLIB=$PWD/lib ruby bin/alexandria
This runs the local copy of the start script, and starts looking for
the Alexandria code libraries in the local lib directory. This is very
useful for most local changes in code.
However, as mentioned above, this won't pick up local modifications to
the various resources (such as icons, images, translations and Glade
XML) but I imagine that changing the DATA_DIR in the generated config.rb
might be the first step in figuring out a way around that (it's not
that easy though, as 'rake install' actually collates a bunch of files
from all over the source directory and places them correctly).
- C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
iD8DBQFICQ/yfMAUnRdb+8oRAkPqAKDRU3nOm0pDotedCDINOT3dR/HvjgCdGO+g
WAz4cPtDfq2j1oVmETnJBvY=
=JA//
-----END PGP SIGNATURE-----
More information about the Alexandria-list
mailing list