Search code examples
javascriptjqueryruby-on-railscoverflow

How to Install a JQuery Plugin to Rails 5.0 without a Gem


I'm trying to install this JQuery Plugin: http://coverflowjs.github.io/coverflow/tutorial/get-started/

I'm relatively new to rails, and not sure how to implement a JQuery plugin without a Gem. (And not comfortable trying to create a gem at this point)

Can someone please assist in laying out a step-by-step breakdown of how they would go about installing this plugin?

Really appreciate any help.


Solution

  • You should use rails-assets.org, which wraps bower components into ruby gems on the fly. Find the equivalent library in bower and then use the gem it creates.

    Coverflow is available at https://rails-assets.org/#/components/coverflow