Search code examples
ruby-on-railsrubykaminaripaginationsemantic-ui

Generate Kaminari semantic-ui theme


When I generate semantic-ui theme, this error occures. What to do with it?

rails g kaminari:views semantic-ui
no such theme: semantic_ui
avaliable themes: bootstrap2, bootstrap3, foundation, github, google, purecss, semantic-ui

Solution

  • All the generator does is copy the files of the theme into app/views/kaminari/. As a workaround you can just copy them from the master branch yourself from here

    Just get the zip-file of the repo from here and extract the semantic-ui/app/views/kaminari/folder contents into your app app/views/kaminari/ (create the kaminari folder if you don't have it yet).