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.
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:
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!
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!
···
On Sun, Feb 3, 2013 at 12:30 PM, Tom C. <lists@ruby-forum.com> wrote:
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!