摘要:
运行rails new生成一个新程序:mkdir rails_projectscd rails_projectsrails new first_app修改一下Gemfile配置,然后执行bundle updatebundle install更新gem,然后可以查看本机网页了:rails server提示:`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::Runtime 阅读全文