upmin / upmin-admin-ruby

Framework for creating powerful admin backends with minimal effort in Ruby on Rails.
MIT License
755 stars 66 forks source link

"Could not find generator 'upmin:install'" #173

Closed joshukraine closed 9 years ago

joshukraine commented 9 years ago

I'm running Ruby 2.2.2 (via rbenv) and Rails 4.2.1. After installing the gem per the Upmin readme instructions, I try to install it with rails g upmin:install. But all I get is the error:

Could not find generator 'upmin:install'. Maybe you meant 'migration' or 'kaminari:views' or 'css:assets'
Run `rails generate --help` for more options.

Thoughts?

mbrookes commented 9 years ago

The README is correct for master, but the published gem is quite far behind at the moment, so doesn't have the generator.

If you want to live on the edge, you can point your gemfile entry to the github repo - I would pick a specific commit for stability, otherwise you might find upmin changes out from under you and potentially breaks something.

gem 'upmin-admin', :github => 'upmin/upmin-admin-ruby', :ref => 'f036510b74'

@jdurand - any thoughts on updating the published gem?