Felix,
I have a feeling you are correct. I did what you said, and it appears
to have installed. However, .erb files are still not being
interpreted. I'm using CRX, not Jackrabbit, and I check /system/
bundles and it does not show any new bundles, specifically Ruby ones,
installed.
I am going to try this method on Jackrabbit, but was curious if this
should also work on CRX?
Thanks man...
-Josh
On Aug 26, 2008, at 12:24 AM, Felix Meschberger wrote:
Hi Josh,
Joshua Oransky schrieb:
Rory,
I think that's the issue; I don't have the bundle installed.
There isn't a lot of information on how to get this bundle,
however. I tried following the directions on http://wiki.apache.org/jackrabbit/ApacheSling/SlingGuideInstall
but they
The Sling docs in the Jackrabbit wiki are outdated and invalid.
Please refer to the Sling site at http://incubator.apache.org/sling
for more up to date information.
don't match up with what I'm seeing. I downloaded and tried to
upload the pom.xml file since it contains SVN URLs thinking that
CRX would just download the files, to no avail. That guide makes it
seem like the bundle repository is something like apt-get or fink,
but I can't figure out how to get it to connect to the repository.
We are considering building a repository similar to the apt-get
stuff for Sling. In the realm of OSGi this is called the OSGi Bundle
Repository or OBR for short. Currently we don't have it yet.
It is not decided yet, what will go into such a repository (except
for the released bundles, of course).
Regards
Felix
I appreciate any help!
-Josh
Have you installed the ruby scripting bundle - I don't think it's
installed by default in the launchpad app?
Joshua Oransky wrote:
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