Hi,
I’m building web apps using Ruby and Rails.
I’ve been having a difficult problem installing and integrating CSS and JavaScript into my rails applications..
I’ve tried to use Bower, but whenever I try to install a library, it puts the files under “bower_components”.
But when tried to be used, it doesn’t work.. Do I have to do something else for bower to work with my rails app?
Also, i’ve downloaded the actual .js file I want to install and copy/paste the .js files to my app/assets/javascripts/what_i_want.js
I’ve also added:
<!– PARALLAX –>
<script src=”/assets/javascripts/parallax.js”></script>
To my application.html.erb
Or I just use:
<link rel=”stylesheet” type=”text/css” href=”
[B][U]All said, i’m confused on how to really install a library (JavaScript) I want to use into my rails apps..
What way is the best? And is there a way I KNOW the library is installed and working ?
Thanks for any help, this has been really bugging me lately with some libraries working, and some not..