When using Rails by way of a shared Vagrant folder we need to edit one config file to ensure that the Rails server works properly.
After creating a new Rails application (but before starting the Rails server) the following file in a text editor:
config/environments/development.rb
Change the second last line in this file (line 53) from:
config.file_watcher = ActiveSupport::EventedFileUpdateChecker