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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.