josevalim/active_model_serializers — Issue #35: Could not find generator serializers:install.
Author: hellopatrick
Created: 2012-02-01 21:51:25+00:00
State: open

I can't seem to get the rails generator to work. I added ```gem "active_model_serializers", :git => "http://github.com/josevalim/active_model_serializers.git"``` to my Gemfile and ran `bundle install`. This is what followed. Am I missing something obvious?

buch:test_app:% bundle install
Fetching http://github.com/josevalim/active_model_serializers.git
remote: Counting objects: 465, done.
remote: Compressing objects: 100% (185/185), done.
remote: Total 465 (delta 283), reused 404 (delta 222)
Receiving objects: 100% (465/465), 71.14 KiB, done.
Resolving deltas: 100% (283/283), done.
...
Using active_model_serializers (0.1.0) from http://github.com/josevalim/active_model_serializers.git (at master)
...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

buch:test_app:% rails g

buch:test_app:% rails g serializers:install
Could not find generator serializers:install.

buch:test_app:% bundle exec rails g serializers:install
Could not find generator serializers:install.

buch:test_app:% bundle show active_model_serializers
/Users/patrick/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/bundler/gems/active_model_serializers-a0d02b43a59f

I'm using the latest rails, bundle, and ruby gems.

buch:test_app:% rails -v
Rails 3.2.1
buch:test_app:% bundle -v
Bundler version 1.0.21
buch:test_app:% gem -v
1.8.15