Reputation: 194
I have a jruby app deployed onto tomcat and it will not pickup nodejs for a javascript runtime. Node is installed and the node
command executes properly under the tomcat6 user.
log dump https://gist.github.com/3192173
Upvotes: 0
Views: 77
Reputation: 3366
You can't use native c extensions with jRuby.
For jRuby, use therubyrhino instead.
The issue is documented & discussed here. For a list of supported runtimes see the execjs docs.
You can however setup nodejs for local development if you use MRI as the local interpreter instead of jRuby on the JVM.
Upvotes: 1