安装Ruby&Rails遇到的问题

  1.安装Rails提示 file 'lib' not found

    一般是安装文档时出错,可以无视,或者执行 :gem install rdoc  重新安装文档

  2.运行rails s 提示:/var/lib/gems/1.9.1/gems/execjs-2.5.2/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime.

    尝试 :sudo apt-get install nodejs 

原文地址:https://www.cnblogs.com/makeup1122/p/Ruby.html