I tried that one. I get this:

Node dumped by HtmlRendererServlet

Node path: /content/maniatv/gameology

Resource metadata: {sling.resolutionPath=/content/maniatv/gameology}

Node properties

jcr:primaryType: nt:unstructured


I've looked all over for the answer. This doesn't seem to be a topic explored very much.

-Josh

On Aug 20, 2008, at 12:02 PM, Rory Douglas wrote:

I think the extension you need is .erb (see org .apache .sling.scripting.ruby.ErbScriptEngineFactory#ERB_SCRIPT_EXTENSION)

Joshua Oransky wrote:
I'm just getting started with Sling. I've played around with the examples and feel pretty comfortable with the layout.

However, I need to use Ruby as my scripting language. What extension do I use for a template that uses Ruby code? I tried various extensions, but nothing works.

Thanks in advance - Josh

Reply via email to