Ringobot log - RingoJS IRC channel: #ringojs on irc.freenode.net

2010-05-28:

[6:57] <oberhamsi> my 2cents re: monkey patching: i want unique()
[6:58] <oberhamsi> i find others in core/array more obscure.. like partition(fn) or all the static set methods.
[8:03] <gmosx> hey
[11:59] <gmosx> hannesw: hey?
[12:02] <gmosx> anyone alive? ;-)
[12:04] <robi42> hey gmosx, here's someone alive :)
[12:05] <gmosx> a quick question: how can I add a package in a command line ringojs app?
[12:06] <robi42> i think there's a switch to bin/ringo to specify additional package paths
[12:07] <gmosx> doesn't ringo take the packages.json file's 'dependencies' key into account?
[12:09] <robi42> hm, i think package dependencies resolution's currently work in progress :)
[12:12] <gmosx> hmm.. perhaps that's why the module loader is so fast ;-) ;-) I don't mind, it's a great tradeoff
[12:27] <hannesw> gmosx what are you trying to do?
[12:28] <hannesw> using a package in a command line app should just work
[12:28] <hannesw> if it's installed
[12:28] <gmosx> What is the preferred method to add a packages to a command line Ringo
[12:28] <gmosx> app? In webapps I just put the package into WEB-INF/packages, what is
[12:28] <gmosx> the equivalent for command line apps?
[12:28] <hannesw> ringojs/packages
[12:28] <gmosx> I don't want to install this globally, ie in the Ringo dir, I only want to have it in my app
[12:28] <hannesw> install via ringo-admin install
[12:29] <hannesw> that's not currently supported, but wouldn't be hard to implement
[12:29] <gmosx> ok...
[12:29] <gmosx> will this slow down the module loader when implemented?
[12:29] <hannesw> no, i don't think so
[12:30] <gmosx> ok
[12:30] <hannesw> i'm already running with ~20 packages installed without any slowdown
[12:30] <gmosx> should I add just a symlink in ringojs/packages?
[12:30] <hannesw> you can if you want
[12:30] <gmosx> ok
[12:31] <gmosx> let me try this
[12:31] <hannesw> i use symlinks for the packages i work on
[12:43] <gmosx> btw, the subprocess.system bug (demon does not exit) still persists...
[15:21] <mschwartz> hannesw: you about?
[15:50] <mschwartz> hannesw: you about?