title: Zurb Foundation + Bundler Setup Dependencies
body: <p>Following <a href="http://foundation.zurb.com/docs/sass.html#multiple-versions" rel="nofollow noreferrer">these instructions</a> for running multiple versions of Foundation with Bundler, I was able to create a new project with a dependency of <code>3.2.5</code></p>
  <p>Here's my Gemfile:</p>
  <pre><code>source &quot;https://rubygems.org&quot;
  gem &quot;zurb-foundation&quot;, &quot;3.2.5&quot;
  gem &quot;compass&quot;
  </code></pre>
  <p>I then ran <code>bundle exec compass create . -r zurb-foundation --using foundation</code> and it created my Gemfile.lock file:</p>
  <pre><code>GEM
    remote: https://rubygems.org/
    specs:
      chunky_png (1.2.7)
      compass (0.12.2)
        chunky_png (~&gt; 1.2)
        fssm (&gt;= 0.2.7)
        sass (~&gt; 3.1)
      fssm (0.2.9)
      modular-scale (1.0.6)
        compass (&gt;= 0.12.1)
        sass (&gt;= 3.2.0)
        sassy-math (&gt;= 1.5)
      rake (10.0.3)
      sass (3.2.5)
      sassy-math (1.5)
        compass (~&gt; 0.11)
      zurb-foundation (3.2.5)
        compass (&gt;= 0.12.2)
        modular-scale (= 1.0.6)
        rake
        sass (&gt;= 3.2.0)
  
  PLATFORMS
    ruby
  
  DEPENDENCIES
    compass
    zurb-foundation (= 3.2.5)
  </code></pre>
  <p>But - after trying to compile (with Codekit), I'm getting the following:</p>
  <pre><code>Compass was unable to compile one or more files in the project: 
  
      error app.scss (Line 1 of _settings.scss: File to import not found or unreadable: foundation/common/ratios.
  Load paths:
    /Users/chester/Sites/f3.2.5test/sass
    /Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/blueprint/stylesheets
    /Library/Ruby/Gems/1.8/gems/compass-0.12.2/frameworks/compass/stylesheets
    /Library/Ruby/Gems/1.8/gems/zurb-foundation-4.0.5/scss
    Compass::SpriteImporter)
  overwrite app.css 
  
  
  (This action was triggered by a change to _settings.scss)
  </code></pre>
  <p>Which from the looks of it, is still trying to get something from <code>4.0.5</code>. Just as a side-note, I recieved this while trying to upgrade Foundation:</p>
  <pre><code>sudo gem update zurb-foundation
  Updating installed gems
  Updating zurb-foundation
  Fetching: zurb-foundation-4.0.5.gem (100%)
  Successfully installed zurb-foundation-4.0.5
  Installing RDoc documentation for zurb-foundation-4.0.5
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
  Installing ri documentation for zurb-foundation-4.0.5
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
  /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
  Done installing documentation for zurb-foundation after 0 seconds
  Gems updated: zurb-foundation
  </code></pre>
  <p>But the actual files looked to have installed just fine <code>gem list</code></p>
  <pre><code>bundler (1.3.2)
  chunky_png (1.2.7)
  compass (0.12.2)
  fssm (0.2.10, 0.2.9)
  modular-scale (1.0.6)
  rake (10.0.3)
  rubygems-update (2.0.2, 1.8.24)
  sass (3.2.7, 3.2.5)
  sassy-math (1.5)
  zurb-foundation (4.0.5, 3.2.5, 3.2.4)
  </code></pre>
  <p>I can create/use a F4 project just fine, but for some reason any F3 projects look to be still referencing F4 (and coming up with those unreadable errors). Any help would be greatly appreciated. Thanks!</p>
  <h2>Update</h2>
  <p>This appears to be a Codekit issue -- as using the standard <code>bundle exec compass watch</code> seems to work just fine. Developer hasn't replied to the issue I made on this -- so anyone else that &quot;has&quot; been able to get this work would make my day to share their insights. Thanks.</p>