Skip to main content

Using Purchased Themes with Rails Discussion

General • Asked by Chris Oliver

Hey Chris, for years, I've been taking templates and just putting them in the app/assets folders instead of going the route of the Vendors folders. Is there a specific reason for going with Vendors over App?


Chris,

I have an existing site that I wanted to refresh so I purchased a theme from themes.getbootstrap.com.
Here's what I've done so far:

  • unzipped the file
  • copied the 5 folders (css, fonts, images, js, scss) from the theme's assets folder
  • pasted the folders in my rails project folder vender/assets/themes/guidebook/
  • added Rails.application.config.assets.paths << Rails.root.join('vendor') into my initializers/assets.rb file
  • restarted my app but it's obvious that the styles are not there

I'd appreciate any help


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.