Rails Boilerplate

screenshot of Rails Boilerplate

Rails (>= 3.1) engine which provides html5boilerplate generators and assets

Overview:

Rails Boilerplate is a gem designed for Ruby on Rails applications that helps developers integrate the HTML5 Boilerplate into their projects. It provides a generator that updates the application layout file, converts the index.html file to a Rails-compatible ERB file, adds necessary assets, and copies over static files to the public folder.

Features:

  • Rails Integration: The gem seamlessly integrates the HTML5 Boilerplate into Rails applications by updating the application layout file and converting the index.html file to a Rails-compatible ERB file.
  • Asset Management: It adds essential assets such as style.css (renamed to reset.css), modernizr.js, and plugins.js to the project's assets.
  • Static File Copying: The gem also copies over static files like favicons, touch icons, robots.txt, and humans.txt to the public folder.

Summary:

Rails Boilerplate is a gem that simplifies the integration of the HTML5 Boilerplate into Ruby on Rails applications. It provides a generator that updates the application layout file, adds necessary assets, and copies over static files. With Rails Boilerplate, developers can easily incorporate modern web development best practices into their Rails projects.