D
Duane Morin
I'd like to use rubyscript2exe to move over a Ruby application and its
environment to a production box that will be run by a sysadmin. As such
he needs some control over things like where the app installs itself,
and the ability to modify the config.yml file I've associated with the
app. I don't really have a handle on what I can and can't control.
This is a windows box, by the way.
For instance, the app and everything about it seems to install itself
relative to c:\documents and settings\user\local settings.... blah blah
blah. I would rather be able to tell it exactly where to uninstall
itself. Possible? I suppose I can set the TEMP environment variable,
but that seems like a hack that I wouldn't be too excited to write in
the official instructions.
Second, I can't "just extract" the app. I try running with the
--eee-just-extract flag and I get this: COuldn't create directory
c:\temp\C:/ApplicationDirectory
where c:\ApplicationDirectory is what my present working directory was
when I ran the original rubyscript2exe executable. Just thinking aloud,
can I manipulate either the appdir or userdir variable during the
is_compiling phase to change this? How do I make the extra C:\ go away
so it is a legal directory?
Is there any way to tell the app that it's ok to use the directories
specified? For instance in my config.yml file if I want to say datadir:
d:\client\data\ftp or something like that, I can't seem to get it to
work properly. I think it is looking for this directory relative to the
temp area where the app installed itself, which is not what I want.
Thanks for any help!
Duane
environment to a production box that will be run by a sysadmin. As such
he needs some control over things like where the app installs itself,
and the ability to modify the config.yml file I've associated with the
app. I don't really have a handle on what I can and can't control.
This is a windows box, by the way.
For instance, the app and everything about it seems to install itself
relative to c:\documents and settings\user\local settings.... blah blah
blah. I would rather be able to tell it exactly where to uninstall
itself. Possible? I suppose I can set the TEMP environment variable,
but that seems like a hack that I wouldn't be too excited to write in
the official instructions.
Second, I can't "just extract" the app. I try running with the
--eee-just-extract flag and I get this: COuldn't create directory
c:\temp\C:/ApplicationDirectory
where c:\ApplicationDirectory is what my present working directory was
when I ran the original rubyscript2exe executable. Just thinking aloud,
can I manipulate either the appdir or userdir variable during the
is_compiling phase to change this? How do I make the extra C:\ go away
so it is a legal directory?
Is there any way to tell the app that it's ok to use the directories
specified? For instance in my config.yml file if I want to say datadir:
d:\client\data\ftp or something like that, I can't seem to get it to
work properly. I think it is looking for this directory relative to the
temp area where the app installed itself, which is not what I want.
Thanks for any help!
Duane