BeMathis
BeMathis

Reputation: 194

Tomcat with execjs rails

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

Answers (1)

Florian
Florian

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

Related Questions