russfrisch/modernizr-rails — Issue #2: ReferenceError: Can't find variable: Modernizr
Author: mysterycommand
Created: 2011-12-16 01:03:21+00:00
State: open

Hi,

I'm trying to use modernizer-rails in my project … actually I first built a project using your other project, but then I had a hard time getting it up into Heroku. I have since built a vanilla Rails 3.1 project, and have that deployed to Heroku. I thought I could just pull in:

/app/assets/javascripts/*
/app/assets/stylesheets/*
/app/views/layouts/application.html.erb
/public/*

… and modify the Gemfile to include `gem 'modernizr-rails'. Unfortunately, having done this, and run `bundle update` I still get the above error in WebKit's console. Any idea what I might be missing? Or what to try next?

Thanks,
//Matt Hayes