I hope this is the place to post this. If it's the Rails list, let me know. Running Kubuntu 12.10, rvm 1.18.5, and ruby 1.9.3p374 (2013-01-15 revision 38858) [i686-linux] - I've installed the BrowserCMS gem. It has a command for creation of a demo CMS " Suitable for learning BrowserCMS" - browsercms demo [NAME] Issuing that, all goes well until the end, at which point I get an error msg: rake cms:install:migrations rake aborted! Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes That link advises installation of the execjs gem. Done. Reissuing the demo creation demand, I have the exact same problem. I reload rvm (grasping at straws, here), and retry. Same result. My terminal output for the last try is here: http://pastie.org/6033592 I don't know what's happening or what to do about it. I'd appreciate any help offered! [posted from ruby-forum.com]
on 2013-02-03 20:00
on 2013-02-03 20:14
I use node.js it is extremely easy to install and worked for me on two diff machines: ubuntu 12.10 . I also hear node.js scales well. Colby
on 2013-02-03 21:30
Thank you. You solved the problem, which was that I had NO idea that installing the execjs gem was an insufficient response. Have never worked with js, and it didn't occur to me that an executable was needed. Your response quietly implied that, I Googled for how to install such, did it, and now I'm up and running. Much appreciated!
on 2013-02-03 21:51
I am a noob just getting into rails and spent several hours trying to get my environment set up last week... so glad I could help. :) Looking into it a bit more, it appears that if you DID want to use execjs you would also have to get "therubyracer" gem and run bundle install after... I've heard good things about nodejs though so that's what I'm sticking with. Good luck!
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.