You need to understand the directory structure in a Rails project. You need to put all your javascript files under app/assets/javascripts/ folder, the stylesheets will go into app/assets/stylesheets folder. For more details, read : http://guides.rubyonrails.org/asset_pipeline.html
On Tuesday, October 7, 2014 11:54:43 AM UTC-7, Brian Sammon wrote: > > I'm building a backend for a web-design created by someone else (that I'm > working with). > I've been provided with a bunch of html files (most, but not necessarily > all, to be converted to html.erb files), a bunch of .js files, a bunch of > .css files and some other related files. > > I'm not particularly knowledgeable on javascript or CSS, and I'm hoping I > won't have to become very knowledgeable to complete this project. If the > javascript and CSS files need to be updated, the web-designer will still be > available to update them, but he doesn't know ruby or rails. > > My development environment is rails (4.1.6) with the default webrick > stuff. > > Does anyone have any pointers to good reading material (preferably online) > for a situation like this? That is--building an app to serve a website > designed by someone else, where many of the files do not get processed by > rails. Hopefully including advice on setting up the development > environment. > > I'm cobbling something together, but I worry that what I'm coming up with > may be suboptimal. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f7f84230-ec92-44a0-8821-a04e476cccfc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

