首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RailsTutorial.org -ExecJS::Users#index中的RuntimeError

RailsTutorial.org -ExecJS::Users#index中的RuntimeError
EN

Stack Overflow用户
提问于 2013-11-07 04:22:57
回答 1查看 3K关注 0票数 0

我遵循Michael的Rails教程,在第二章中,安装了一个演示应用程序。我遇到了一个错误,我找不到原因!!

我确保遵循了本教程中的所有命令:

  1. Ran rails new to demo_app创建项目
  2. 根据需要更新了gem文件
  3. 执行的rails generate scaffold User name:string email:string
  4. 使用bundle exec rake db:migrate迁移数据库
  5. 启动服务器- rails s
  6. http://localhost:3000/出现在右边
  7. 当我试图导航到http://localhost:3000/users/时,会出现以下错误

有人能解释一下为什么这个设置会发生变化吗?!

EN

回答 1

Stack Overflow用户

发布于 2013-11-07 04:50:53

安装Node.js的步骤

Go to nodejs网站 and download the installer

代码语言:javascript
复制
    Click on the downloaded file to run the install wizard. Click Next at each step to accept the defaults.

    Reboot your computer.

    Once your computer is back up, load Command Prompt with Ruby and Rails OR simple command prompt and...
    Type this in the terminal:    


     node -v
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19827958

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档