title: rails generate error dont know how to build task 'rails
body: <p>I'm following the basic RoR getting started guide and I have gotten to the point where I run "bin/rails generate controller Welcome index". Everything up until that point works correctly, but when I run that command I get the following error:</p>
  
  <pre><code>rails aborted!
  Don't know how to build task 'rails' (see --tasks)
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/task_manager.rb:71:in `[]'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:151:in `invoke_task'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block (2 levels) in top_level'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `each'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:108:in `block in top_level'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:117:in `run_with_threads'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:102:in `top_level'
  /var/lib/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/rake_proxy.rb:13:in `block in run_rake_task'
  /var/lib/gems/2.3.0/gems/rake-11.2.2/lib/rake/application.rb:178:in `standard_exception_handling'
  /var/lib/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/rake_proxy.rb:10:in `run_rake_task'
  /var/lib/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands/commands_tasks.rb:51:in `run_command!'
  /var/lib/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/commands.rb:18:in `&lt;top (required)&gt;'
  bin/rails:9:in `require'
  bin/rails:9:in `&lt;main&gt;'
  </code></pre>
  
  <p>I'm trying to run this on Windows subsystem for Linux so that is probably where this error is stemming from. Does anybody have any insight into fixing this? I've tried remaking the project and reinstalling rails and looking all over the internet for solutions.</p>