Rails - how to use a plugin from github (how to install, utilize, etc)

Posted by jyoseph on Stack Overflow See other posts from Stack Overflow or by jyoseph
Published on 2011-01-28T21:48:03Z Indexed on 2011/01/28 23:25 UTC
Read the original article Hit count: 446

I'm trying to install a couple of different plugins for my rails 3 app. I cd to '/vendor/plugins/', then type git clone the_git_src_url.

I see the files in the /vendor/plugins/ directory. However when I try to use any of the tags provided by the plugin I get

uninitialized constant ContentsController::HTMLToTextileParser

PriceTag and html2textile are the two plugins I'm trying to use. This is what triggers the error above: <%= PriceTag.html_to_textile(@content.desc) %>

I'm working in development, I've tried to restart the server. Is there something I'm missing?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails-3