Send to a Friend

VoodooLogic's avatar

How do you remove a plugin in a Ruby on Rails application and scaffold?

Asked by VoodooLogic (729points) December 3rd, 2009

I tried to download tinymce-plus for my web application. After watching the install for 10 minutes it became apparent that a horrible loop was creating subdirectories of itself:
./pull_request/pull_request/pull_request/pull_request/pull_request/pull_request/pull_request/pull_request/pull_request/pull_request/search

I hit ctrl+c to kill it. Once I restarted my webrick (script/server) it no longer worked.

I believe that the plugin is to blame, but I don’t know how to get rid of it in rails just yet. Did some googling and no real solutions came up. Hope someone can help.

The actual error was
~/George_Ortho_Society/vendor/rails/activesupport/lib/active_support/dependencies.rb:428:in `load_missing_constant’: Expected /home/oldbones/George_Ortho_Society/app/helpers/lfp_contacts_helper.rb to define LfpContactsHelper (LoadError)
from /home/oldbones/George_Ortho_Society/vendor/rails/activesupport/lib/active_support/dependencies.rb:77:in `const_missing’

This error suggests that my scaffold broke my rails server, but doing script/destroy scaffold lfp_contact doesn’t destroy anything.

Hope fully someone can help.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.