"Could not find a JavaScript runtime" deploying Radiant 1.0.0rc4 to Heroku

55 views
Skip to first unread message

Mick Hollins

unread,
Jan 29, 2012, 8:13:27 AM1/29/12
to Radiant CMS
Hi,
I'm attempting to deploy Radiant 1.0.0rc4 to Heroku, but I get the
following error:

Could not find a JavaScript runtime

The full log output is here:

https://gist.github.com/1698750

Anyone seen this before? Any help would be greatly appreciated.

thanks,
mick

john

unread,
Feb 12, 2012, 11:32:00 AM2/12/12
to radia...@googlegroups.com
the coffeescript support in sheets needs a javascript runtime...so add therubyracer to your gemfile, bundle update and redeploy.

John Moroney

unread,
Feb 12, 2012, 1:16:31 PM2/12/12
to radia...@googlegroups.com
Mick,

I have seen this horrible thing before. I fixed this by installing the gem therubyracer. Others swear by nodejs.

Also, rc5 is out and does seem more stable.

Best of luck,

John
Vancouver, BC

Jim Gay

unread,
Feb 12, 2012, 8:57:47 PM2/12/12
to radia...@googlegroups.com
rc5 of what is out?

Mick,
I want to figure out a way to gracefully fail and remove coffee-script
support if you don't want it. But you should be able to add this to
your Gemfile:

gem "therubyracer"

Let us know if that doesn't work out.

--
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338

John Moroney

unread,
Feb 13, 2012, 3:32:41 PM2/13/12
to radia...@googlegroups.com
Mick,

Sorry, I misspoke about rc5.

John

Reply all
Reply to author
Forward
0 new messages