Closed andreierdoss closed 14 years ago
What's your setup? rails version, ruby, gem version, etc. I just added it to a Gemfile in a brand new rails 3 app:
~/xx > script/rails g comment create app/models/comment.rb create db/migrate/20100718212049_create_comments.rb
I'm also having this issue with Rails 2.3.8, Ruby 1.8.7p249 using bundler
logankoester,
The 3.0 version isn't compatible with that version of rails. The quick fix is to use the 2.0 version which you can install as so:
config.gem 'jackdempsey-acts_as_commentable', :source => "http://gems.github.com", :lib => 'acts_as_commentable'
(obviously a bit different if using bundler, but you get my drift)
When I can get a sec, I'll push a 2.0 version to rubygems.org
Thanks :-)
NP, there's a v2.0.1 tag out there, and I pushed a 2.x gem to rubygems...doesn't seem to be showing up yet, hopefully will soon.
I installed the gem and then when I ran script/generate comment, I got Couldn't find 'comment' generator.