Taken directly from the README.rdoc that is part of the installed package:
sudo gem install friendly_id cd my_app script/generate friendly_id rake db:migrate Here's how to see the documentation for installed gems on your system. 1) create an executable file named "gem_server.rb" that contains #!/usr/bin/env ruby require 'rubygems/server' gem_server = Gem::Server.new Gem.dir, 8089, false puts gem_server.inspect gem_server.run 2) run: gem_server.rb & 3) browse to: localhost:8089 On Oct 4, 9:24 pm, David Sousa <rails-mailing-l...@andreas-s.net> wrote: > Hello there, > > The plugin friendly_id (http://github.com/norman/friendly_id) has rake > tasks that you can call. > > I'm using this plugin as a gem. > > I'm trying this: rake friendly_id:make_slugs MODEL=Post > and it is rising this error: Don't know how to build task > 'friendly_id:make_slugs' > > So the question is: how do I call a gem's rake task? > > David Sousa > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---