Menu icon Foundation
Adding gemfiles, updating compass etc

I initially created a Foundation project a little over a year ago before a gemfile and gemfile.lock were included. I followed the bower update instructions on the http://foundation.zurb.com/docs/sass.html#cli page but it seems to include only bower components and not additional or updated files in general.

So what's the next step I need to include these files and then make sure my compass version is also in sync? It is as simple as downloading and including these two files? What command do I run once I have them in my project?

bowergemfile

I initially created a Foundation project a little over a year ago before a gemfile and gemfile.lock were included. I followed the bower update instructions on the http://foundation.zurb.com/docs/sass.html#cli page but it seems to include only bower components and not additional or updated files in general.

So what's the next step I need to include these files and then make sure my compass version is also in sync? It is as simple as downloading and including these two files? What command do I run once I have them in my project?

Rafi Benkual over 4 years ago

The updated files are in bower_components. They should be the files linked up in your pages.

CSS

<link rel="stylesheet" href="stylesheets/app.css" />
<script src="bower_components/modernizr/modernizr.js"></script>

JS

<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/foundation/js/foundation.min.js"></script>
<script src="js/app.js"></script>

Alley Hector over 4 years ago

I meant the gemfile and the gemfile.lock
https://github.com/zurb/foundation/blob/master/Gemfile
https://github.com/zurb/foundation/blob/master/Gemfile.lock

I just copied them from the github repo.

Then I went ahead and created .ruby-gemset and .ruby-version files using this method:

https://rvm.io/workflow/projects