# Plugin gems?

**URL:** <https://www.ruby-forum.com/t/plugin-gems/204168>\
**Category:** Rails\
**Created:** [March 7, 2011, 4:59am UTC](https://www.ruby-forum.com/t/plugin-gems/204168 "2011-03-07T04:59:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [March 7, 2011, 4:59am UTC](https://www.ruby-forum.com/t/plugin-gems/204168/1 "2011-03-07T04:59:16Z")

</div>

i am not talking about rubygems.

## Is there a gem that can help setup a framework that can allow a rails app to have a plugin architecture similar to what wordpress has? I basically want to be able to activate and deactivate plugins. What I would like is the wordpress plugin architecture or something like it. Am not sure if there is a gem for it or what to search for. “plugins” doesn’t work to well as a search feature and it seems like everything I get form that deals with ruby gems.

Buddy Lindsey

> **[Buddy Lindsey](https://buddylindsey.com/)**
>
> Buddy Lindsey is a Software/DevOps Engineer and CryptoCurrency enthusiest. BuddyLindsey.com is where he likes to teach others and even pontificate about technology.

[http://www.twitter.com/buddylindsey](http://www.twitter.com/buddylindsey)

---

<div class="post-metadata">

**Author:** ![Buddy\_LindseyS\_Jr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ecccb3/32.png) [@Buddy\_LindseyS\_Jr](https://www.ruby-forum.com/u/Buddy_LindseyS_Jr)\
**Post date:** [March 7, 2011, 12:52pm UTC](https://www.ruby-forum.com/t/plugin-gems/204168/2 "2011-03-07T12:52:35Z")

</div>

Rails has the notion of plugins built into the framework, but  
conceptually,  
they’re very different than what WP people are used to. Essentially you  
can  
think of them as a Rails-specific alternative to Rubygems in that they  
provide additional functionality that the developer can incorporate into  
his  
application. This can include changes in base framework behavior and  
application views, but it might also be just an extension mechanism.

Management of Rails plugins is done on the command line; there’s no  
graphical interface like the plugin screen used by WP Admin because  
generally (though not necessarily) you need to also make changes to your  
code in order to take advantage of installed plugins.

See: [The Basics of Creating Rails Plugins — Ruby on Rails Guides](http://guides.rubyonrails.org/plugins.html)

---

<div class="post-metadata">

**Author:** ![Buddy\_LindseyS\_Jr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/ecccb3/32.png) [@Buddy\_LindseyS\_Jr](https://www.ruby-forum.com/u/Buddy_LindseyS_Jr)\
**Post date:** [March 7, 2011, 5:00pm UTC](https://www.ruby-forum.com/t/plugin-gems/204168/3 "2011-03-07T17:00:30Z")

</div>

On Mar 6, 10:57pm, “Buddy Lindsey, Jr.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> i am not talking about rubygems.
> 
> Is there a gem that can help setup a framework that can allow a rails app to  
> have a plugin architecture similar to what wordpress has? I basically want  
> to be able to activate and deactivate plugins. What I would like is the  
> wordpress plugin architecture or something like it. Am not sure if there is  
> a gem for it or what to search for. “plugins” doesn’t work to well as a  
> search feature and it seems like everything I get form that deals with ruby  
> gems.

Your best bet would probably be to check out how Spree (e-commerce)  
and Radiant (CMS) implement that sort of thing. I’m not sure if  
there’s a separate bit for doing this, but if there is it’s likely to  
have been split out of one of those…

–Matt J.
