Closed briannelson closed 12 years ago
I can't seem to reproduce this issue locally. Are you using the latest version of the zurb-foundation
gem (currently 2.2.1.0)? Also can you confirm that the following files exist in your application:
app/assets/javascripts/application.js
app/assets/stylesheets/application.css
If the files listed above aren't in your application then the install generator will fail. In that case you can manually create those files or just include =require foundation
in your Sprockets manifest files and you'll be all set.
Hope that helps you out!
Oh, great answer! I had been using application.scss so it must have gotten angry for the different file format. Thanks!
Sweetness. The install generator will also look for application.css.sass
or application.css.scss
files since I was under the impression tilt required css
to appear before scss
or sass
. I'll check into that and update the install generator going forward if that's not correct. Happy Sunday!
I just pushed out version 2.2.1.1
of the gem that accounts for this file extension. Thanks for bringing this to my attention :)
Thanks for your super quick response. I'm not entirely sure you're supposed to use just .scss but it's been working for me :)
I got this when running rails g foundation:install
insert app/assets/javascripts/application.js /Users/brian/.rvm/gems/ruby-1.9.3-p0@denim/gems/zurb-foundation-2.2.1.0/lib/foundation/generators/install_generator.rb:10:in
add_assets': undefined method
[]' for nil:NilClass (NoMethodError)