I am following this tutorial and have just started. I have installed Ruby on Rails with gem install rails
and have created a blog with rails new blog
I just ran into this myself. I've been working with Rails for almost a year so I was like "Uhhhhh so do I not know what I'm doing? Orrrr?" xD.
I'm on an Ubuntu-based Linux distro.
I added this line to my Gemfile:
gem 'thor', '0.19.1'
I then ran the command "bundle update thor" to make it grab the exact version I needed. Now my generators work again.