Have hit a problem upgrading rails to 3.1.0.rc5 on the server (Centos
5.5). No problems locally an a mac.
After deploying with capistrano and restarting the server, I got the
following error from passenger:
for a list of available runtimes. (ExecJS::RuntimeUnavailable)"
I went to the url mentioned, and ensured the following:
execjs gem is installed (1.2.4).
node is installed (0.4.8).
coffee-script is installed (1.1.2).
The problem remained.
I then did some googling and found solutions that suggested including
therubyracer gem (which basically does the same as node I guess), so I
tried that and got a 500 error when accessing the site, removing it
takes me back to the JS runtime error.
Anyone had anything similar, or got any suggestions?
From what I have read, it appears that this will be fixed in the 3.1
start up, and I would like to continue with 3.1 so I can continue with
sass and coffee-script during the lead up to the final release, so any
help is greatly appreciated.