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 719523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:39:07+00:00 2026-05-14T05:39:07+00:00

Trying to figure out how to install rails plugins manually on windows so I

  • 0

Trying to figure out how to install rails plugins manually on windows so I have a few questions.

  1. What does the directory need to be named in vendor/plugins? Is it arbitrary or is it linked to something within the plugin config files or is that what you set in the environment.rb?

  2. Once I’ve copied the files to the correct directory, do I always need to run something inside like init.rb or is it good to go?

  3. What’s the difference between ‘require’ and ‘include’?

Thanks!

  • 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-05-14T05:39:07+00:00Added an answer on May 14, 2026 at 5:39 am
    • What does the directory need to be named in vendor/plugins? Is it arbitrary or is it linked to something within the plugin config files or is that what you set in the environment.rb?

    Depends on your definition of “need”. In theory the plugin directories could be called plugin1, plugin2, plugin3 etc. But for the sake of your own sanity, it is better that they are named after the plugin they host, so the will_paginate plugin should be inside the vendor/plugins/will_paginate directory and so on.

    If they are hosted on github, the folders will be called the same way as the github project.

    Normally all plugins will have a init.rb file on their “root folder” : vendor/plugins/will_paginate/init.rb. That’s how you can know that you put the right files on the right path. They also usually (not allways) have a lib directory inside them: vendor/plugins/will_paginate/lib/*

    • Once I’ve copied the files to the correct directory, do I always need to run something inside like init.rb or is it good to go?

    You don’t need to run init.rb yourself, but it neither exactly “good to go”: You have to re-start the web server. When initializing, rails goes through the vendor/plugins/* directories, calling the init.rb files itself.

    • What’s the difference between ‘require’ and ‘include’?

    That’s a completely different question. Besides, it is already answered on StackOverflow. So I hope you don’t mind if I point you to the already existing question & its answers.

    • I’m just looking for strategies in general for installing plugins manually without using script/plugin install

    The simplest way is actually installing git on windows. This can be done with msysgit.

    Then your script/plugin install will probably work. If it doesn’t you can install the plugin yourself using git clone. Here’s an example with a random github plugin:

    cd vendor/plugins
    git clone git://github.com/mbleigh/acts-as-taggable-on.git
    

    This will create the plugin folder just like script/plugin install would. Just don’t forget to cd to the vendor/plugins folder first.

    If you can’t/don’t want to use git, then github has a ‘download as a zip’ link on the top of each project. I guess you can download the plugins as zips and them uncompress them on the right places.

    I hope this helps.

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

Sidebar

Related Questions

I'm trying to figure out why the control does not honor ZIndex. Example 1
Trying to figure out an equation to get the current group a page would
In trying to figure out this problem (which is still unsolved and I still
I'm trying to figure out how big a certain database would be (it hasn't
I'm basically trying to figure out the simplest way to perform your basic insert
I've been trying to figure out a regex to allow me to search for
I'm trying to figure out how to detect the type of credit card based
I'm trying to figure out what a Java applet's class file is doing under
I am trying to figure out this: c = 1 def f(n): print c
I am trying to figure out how to click a button on a web

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.