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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:11:11+00:00 2026-05-20T17:11:11+00:00

Having finished Hartl’s great Rails Tutorial I’m now working my way through the very

  • 0

Having finished Hartl’s great Rails Tutorial I’m now working my way through the very good jQuery – Novice to Ninja by Castledine and Sharkie. While I’ve able to include jquery.js and jquery-ui.js in my rails projects, I’m getting stuck when it comes to adding other jQuery plugins.

I’ve figured out that when the plugins are hosted on github, I can import them into my project using the command line and:

[my rails app]$ rails install [github URL]

The plugin gets successfully imported into the /vendor/plugin/ directory where javascript_include_tag can’t find them. This situation prompts 3 questions:

  1. Is there a way to import jQuery plugins into my Rails app that puts them into the public/javascripts/ directory where they belong?

  2. If the answer to 1 is “no,” is there a way to have javascript_include_tag search for scripts in vendor/plugins/? This seems like bad practice since jQuery scripts are hidden away from the public/javascript/ directory where people would normally look for them.

  3. If 1 and 2 are both “no’s,” is there a more elegant way to move the files from vendor/plugins/ than $mv or copying and pasting?

Note: Through web searching I’ve come across 37signals’ sprokets gem at http://getsprockets.org/ which seems like it might be useful at some point but beyond my current needs and understanding.

Grateful for any thoughts!

  • 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-20T17:11:12+00:00Added an answer on May 20, 2026 at 5:11 pm

    Normal practice is to download a minified version of the plugin you’d like to use and save it in the public/javascripts directory.

    rails install is for Rails plugins, not jQuery plugins.

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

Sidebar

Related Questions

Having finished and successfully published my very first iPhone app with MonoTouch, I'm now
I am having difficulty calling a function after a jQuery AJAX call has finished
Im developing a HTML scrolling site (its no way near finished) but im having
I'm having a problem with building my iPhone app..so, i finally finished it, but
Having a large set of files I need to grep through, I'm doing it
I am using Selenium for web application testing. After having finished all the testing,
I finished the tutorial on Django's site about using mod_wsgi ( here ), and
I'm having issues with some jQuery code I have. Using $.each I am looping
I have finished the majority of my application that I am working on, but
I have finished developing the core of a web application I have been working

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.