0

私は、Michael Hartl による Ruby on Rails チュートリアルに従っています。第 2 章では、デモ アプリがセットアップされています。エラーが発生し、原因がわかりません!!

チュートリアルにあるすべてのコマンドに従っていることを確認しました。

  1. プロジェクトrails new to demo_appの作成を実行しました
  2. 必要に応じて gem ファイルを更新しました
  3. 実行されたrails generate scaffold User name:string email:string
  4. を使用してDBを移行しましたbundle exec rake db:migrate
  5. サーバーを起動しました -rails s
  6. http://localhost:3000/正しく表示されます
  7. に移動しようとするとhttp://localhost:3000/users/、このエラーが表示されます

ここに画像の説明を入力

なぜセットアップがうまくいかないのか、誰かが光を当てることができますか?!

4

1 に答える 1

1

Node.js をインストールする手順

Go to nodejsウェブサイト and download the installer

    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
于 2013-11-07T04:50:53.580 に答える