Skip to content

Instantly share code, notes, and snippets.

@mhayes
Last active December 12, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mhayes/4718643 to your computer and use it in GitHub Desktop.
Save mhayes/4718643 to your computer and use it in GitHub Desktop.
Running multiple versions of Foundation

How to Run Multiple Foundation Versions

Create Project

Create a folder for your Foundation project:

mkdir awesomeapp
cd awesome

Create a Gemfile

Inside of the project that was just created you'll create a file called Gemfile which should have the following contents:

source :rubygems
gem 'zurb-foundation', '3.2.2'

NOTE: You'll want to replace 3.2.2 with the version of Foundation you want to use for this project.

Install Foundation

Now from within the awesomeapp directory (or whatever you called it) you'll want to run bundle install.

Final Steps

Create a new Compass project in the current directory using the following command:

bundle exec compass create . -r zurb-foundation --using foundation

Now going forward you'll use the following command to run Compass:

bundle exec compass watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment