Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDaniel Roman
2,867 PointsHow to install jquery plugin in ruby on rails?
How does someone install jquery plugin on ruby on rails like http://hernansartorio.com/jquery-nice-select/ Do I have to install in on the terminal or add files to my project?
1 Answer
Anthony Babich
5,505 PointsIt's probably relative to the project, but in my experience with jQuery and rails you will need to find version compatible gems and add those gems to your gemfile. You'll most likely have to download a jQuery library and store it somewhere on your server, unless you're referencing an external library like Google code library for example. Then you will put a header tag in your site to declare the javascript.. etc. As usual with displaying jQuery on a website.