zurb/foundation-rails — Issue #26: Foundation fails on Heroku with Rails 3.2.1
Author: ccheaton
Created: 2012-01-27 15:46:30+00:00
State: open

Using zurb-foundation version 2.1.5.1

All else equal, deploying a Rails app (updated from 3.1.2 to 3.2.1) to Heroku fails with the following error:

```
ActionView::Template::Error (couldn't find file 'foundation'
2012-01-27T15:38:11+00:00 app[web.1]: 16:
2012-01-27T15:38:11+00:00 app[web.1]: 17:
2012-01-27T15:38:11+00:00 app[web.1]: 18:
2012-01-27T15:38:11+00:00 app[web.1]: 19:	<%= stylesheet_link_tag "application" %>
2012-01-27T15:38:11+00:00 app[web.1]: 20:	<%= javascript_include_tag "application" %>
2012-01-27T15:38:11+00:00 app[web.1]: 21:	<%= csrf_meta_tags %>
2012-01-27T15:38:11+00:00 app[web.1]: (in /app/app/assets/stylesheets/application.css:6)):
```
It works without a problem in development mode on my machine. Perhaps there's an issue with stylesheets being compiled? In my application.css file I've tried both ` *= require "foundation"` and ` *= require foundation`. Everything worked fine before the update to Rails 3.2.1. Note: Heroku also throws the following (possibly unrelated) error:

```
2012-01-27T15:37:51+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from at /app/config/environment.rb:5)
```

I have nothing in my vendor/plugins folder.