I am fairly new to programming in Ruby on Rails. I am following the instructions on the Rails guide, but I am stuck at the this step $ bin/rails generate controller Welcome index in section 4.2
I have tried running the command spring stop as suggested by Timberlake in this post, but it is still not working, Rails just does not create the files and the route for me as stated in section 4.2
$ bin/rails generate controller Welcome index?rails -vin the project directorybindirectory, I run the commandrails generate controller Welcome index, the terminal just prompts me to write the next command without doing anything. Based on the guide, It's supposed to outputcreate app/controllers/welcome_controller.rb route get 'welcome/index' invoke erb create app/views/welcome create app/views/welcome/index.html.erb invoke test_unit create test/controllers/welcome_controller_test.rb invoke helper create app/helpers/welcome_helper.rb....bin/rails generateonly makes sure that the correct rails version your project use gets executed in case there's another 'rails' command in your PATH of different version.