Stop Pasting Code to Vendor/assets!

Use the Bower gem instead!

I prefer the bower gem over bower-rails because it defaults to placing everything in components/, instead of lib/ and vendor/. Using components/ is a nice cue to other developers that the project uses Bower.

Besides, Rails creates vendor/assets/javascripts/ and vendor/assets/stylesheets/ – this structure doesn’t make sense for many repositories that include CSS and Javascript. Use components/project_name/ instead.

Comments