> On Feb 20, 2016, at 2:45 PM, fugee ohu <[email protected]> wrote:
> 
> i added the gem to my gemfile and ran bundle update but when i run `rails 
> generate has_friendship` i get the error that rails couldn't find this 
> generator on rails 4.2.5
> 

As others have noted, this gem is pretty old, and likely has not been updated 
to support newer Rails. At some point, it became pretty common for generator 
tasks to require a colon-separated signature: rails generate bootstrap:install 
rather than rails generate bootstrap_install. Read the source code for your gem 
on Github, and see what the name of the generator file is and what each of the 
defined tasks are within it. See if you can get it to run by calling rails 
generate [whatever the generator file is named, minus the _generator 
part]:[whatever the task method is named].

Walter

> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rubyonrails-talk/cbc01ef3-ee85-4413-8d4f-fd55e6b946bb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/DB2A4B38-9E92-4453-AC53-593E79D0A818%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to