摘要:
装完rails后创建应用程序:rails new demo进入创建的demo文件夹cd demo 检查安装环境rake about 这时出现错误Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. 解决办法:引用两个gem:execjs和therubyracer,在应用跟目录下的GemFile中添加: gem ‘execjs’ gem ’therubyracer‘ 此时运行rake about 如果提示Coul... 阅读全文