Hi,
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:
"Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs
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
final release which won''t rely on a javascript runtime engine during
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.
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.