I'm getting this error after installing foundation and simple form using the last version of the (PDF) book Learn Ruby on Rails.
I just added Foundation to my Gemfile
gem 'foundation-rails'
and then run
rails generate layout:install foundation5 --force