lhyun

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年10月25日

摘要: 装完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... 阅读全文
posted @ 2013-10-25 18:09 lhyun 阅读(884) 评论(0) 推荐(1) 编辑