Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location of comment.rb #68

Open
garbo999 opened this issue Apr 26, 2014 · 2 comments
Open

location of comment.rb #68

garbo999 opened this issue Apr 26, 2014 · 2 comments

Comments

@garbo999
Copy link

Yesterday I ran acts_as_commentable_upgrade_migration and got this error:

saasbook@saasbook:~/Documents/dxrails$ rails generate acts_as_commentable_upgrade_migration
      create  db/migrate/20140425153710_acts_as_commentable_upgrade_migration.rb
Could not find "comment.rb" in any of your source paths. Your current source paths are: 
/home/saasbook/.rvm/gems/ruby-1.9.3-p448/gems/acts_as_commentable_with_threading-1.2.0/lib/generators/acts_as_commentable_upgrade_migration/templates

Could it be that comment.rb is in the wrong directory? Instead of being in templates, it is one level higher.

Another thought: Could the fact that I already had an existing app/models/comment.rb have caused such an error?

@richlarcombe
Copy link

Have just experienced this - did you find the reason or solution?

@kamok
Copy link

kamok commented Jun 8, 2016

I just encountered the same issue. Does this affect the operation of the gem? I have a comments.rb from when I installed the original act_as_commentable gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants