On Jul 6, 2009, at 6:04 AM, a!e wrote:
> +1 for Ruby support : )
>
> There is a VoodooPad plugin on the rubycocoa source tree, but I have
> been unable to compile it (and I'm not even sure if it works with
> the latest voodoopad version)
That's the one you want. I haven't had a chance to look at it for a
while, but it should work with the latest VoodooPad versions. The
last time I played with it, you just needed to add the plugin
framework from within VP's bundle to the project.
> I'd *love* to get "real" Ruby support in VoodooPad.
>
> JSTalk is nice, but once you get used to coding in Ruby it's hard to
> go back to anything else : )
>
> Here's hope Ruby makes its way into VoodooPad!
I don't plan on adding official Ruby support to VP. One reason is
that it's a bit buggy (or was in the past, they might have fixed the
problems I was running into).
What's nice about JSTalk, is that you don't have to use JavaScript to
talk to VP when it's installed. Here's an example in Python, which
scripts VoodooPad via JSTalk:
http://github.com/ccgus/jstalk/blob/26f3bdecbc4fc5962b5b5aeb12d430706f3578d7/exa\
mple_scripts/VoodooPad.py
The same thing could be done easily in Ruby.
Hope that helps,
-gus
--
August 'Gus' Mueller
Flying Meat Inc.
http://flyingmeat.com/