Could not find generator layout:install - old gem versions
gerardp opened this issue · comments
Gemfile:
group :development do
gem 'rails_layout'
end
$ bundle install
.....
Using rails (4.0.2)
Using rails_layout (0.5.11)
....
$ rails g layout:install bootstrap3
Could not find generator layout:install.
Do a bundle update
and you should get Installing rails_layout (1.0.5)
.
I had the same problem. This comment fixed it for me: http://stackoverflow.com/questions/8459099/twitter-bootstrap-rails-cannot-find-generator/8463725#8463725
Be sure that your rails_layout gem is updated to the newest version. Use bundle update
to update your gems. And make sure you've stopped and restarted your rails server.