Book Image

Sass and Compass Designer's Cookbook

By : Bass Jobsen, Stuart Robson
Book Image

Sass and Compass Designer's Cookbook

By: Bass Jobsen, Stuart Robson

Overview of this book

Sass and Compass Designer's Cookbook helps you to get most out of CSS3 and harness its benefits to create engaging and receptive applications. This book will help you develop faster and reduce the maintenance time for your web development projects by using Sass and Compass. You will learn how to use with CSS frameworks such as Bootstrap and Foundation and understand how to use other libraries of pre-built mixins. You will also learn setting up a development environment with Gulp. This book guides you through all the concepts and gives you practical examples for full understanding.
Table of Contents (23 chapters)
Sass and Compass Designer's Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Hello world with Ruby on Rails


In this recipe, you will learn how to create a simple web application using Ruby on Rails (RoR). You can repeat the instruction in this recipe when building the other recipes in this chapter.

Getting ready

Rails is a web application development framework written in the Ruby language. So, you need to have some prerequisites installed; you should install both the Ruby language and the RubyGems packaging system. Read the Installing Sass for command line usage recipe of Chapter 1, Getting started with Sass or visit https://www.ruby-lang.org/en/documentation/installation/ to find out how to install Ruby and RubyGems.

How to do it...

Learn how to set up a Ruby on Rails app by performing the following steps:

  1. After installing Ruby and RubyGems, you can run the following command in your console to install Rails:

    gem install rails
    
  2. Now, you create a new RoR web application by running the following command in your console:

    rails new recipe1
    
  3. The command from the previous step...