Using Rails

As a web development shop which tech stack includes Rails as the main development tool, we provide a gem which plays well with any Rails app, you can check it out at https://github.com/IcaliaLabs/furatto-rails, it includes all the styling and jQuery plugins.


Add the compass-rails gem to the Gemfile.

            
  gem 'compass-rails', '~> 1.1.2'
            
  

After including the compass-rails gem, you need to add the furatto gem to your Gemfile.

            
  gem 'furatto'
            
  

Configuring Furatto

In order to add Furatto to the project, run the following command:

  
  rails g furatto:install
  
  

Manual installation


Add the following line to you app/assets/stylesheets/application.css file:

  
  /*= require furatto */
  

If you want Sass support, you will have to change the application.css to application.scss, and add the following line:

  
  @import "furatto_and_overrides";
  

Add Furatto to your JS manifest

Add the following line to you app/assets/javascripts/application.js file:

  
  //= require furatto
  

Set Viewport Width for responsiveness

Add the following line the <head> tag of your layout:

  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  

Rails gem

For more information on how to setup your Rails project checkout the full documentation or better yet, checkout the starter kit we also use when kicking off a new project.