Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8686851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:58:09+00:00 2026-06-12T22:58:09+00:00

I followed some instructions, which I’m unable to locate again, to move my plugins

  • 0

I followed some instructions, which I’m unable to locate again, to move my plugins to the “lib” directory.

So I have this structure now:

/lib
/lib/plugins
/lib/plugins/plugin1
/lib/plugins/plugin1/lib
/lib/plugins/plugin1/lib/plugin1.rb

I had tried this in my application.rb:

config.autoload_paths += %W(#{config.root}/lib #{config.root}/lib/plugins)

But that isn’t working. What am I doing wrong?

UPDATE:

Trashing the plugins part of the path and putting the plugins directory directly in doesn’t work either. Each plugin has an init.rb file that basically requires the main library, also.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T22:58:10+00:00Added an answer on June 12, 2026 at 10:58 pm

    I’m not sure if these are the instructions you were following, but you probably want the plugin folder itself at the root of lib:

    /lib
    /lib/plugin1
    /lib/plugin1/plugin1.rb
    

    You also may need an initializer: config/initializers/plugin1.rb.

    If that doesn’t help, please post more information about what you’re expecting to see and why it’s not working.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use ASP.net profiles I've followed some instructions which means I have
Pretty sure some people encountered this problem before. Followed all the instructions to setup
I recently followed some instructions with RVM to install ruby-debug and I think it
I ran across some routes that followed this format: resources :foobar, except: create I
I am having some issues installing my Windows Service. I followed Matt's instructions here
I've followed all instructions given on this site with an empty .vim folder, but
I'm having problems understanding how I should install xhtml2pdf. I have followed the instructions
I have 2 domain classes which are mapped by many-to-many relationship. I followed the
I've looked at the gem wiki and followed the instructions but for some reason
I have .NET 3.5 web application which uses some COM dll created in VB6.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.