I am trying to install debug tool called rails-footnotes on Rails 3.0 following instruction on GitHub. A check running bundle show rails-footnotes show that I got rails-footnotes-3.7.4 installed. However, when I run
rails generate rails_footnotese:install
>>Could not find generator rails_footnotese:install.
I hope someone experienced the same issue might help me out.
Thank you.
Version 3.7.4 doesn’t use a generator, only the newer 3.7.5 (which hasn’t been released yet) does. Also, the README has a typo; it should be
rails_footnotes:install, notrails_footnotese:install(there is already a pull request to fix this).If you want to stay on the stable 3.7.4, all the generator command does is add the
config/initializers/rails_footnotes.rbfile with the same content from the README:and a
.rails_footnotesfile with this:Otherwise, use the git version to make the generator work: