Skip to content

Instantly share code, notes, and snippets.

@dlee
Created October 30, 2012 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlee/3983060 to your computer and use it in GitHub Desktop.
Save dlee/3983060 to your computer and use it in GitHub Desktop.
Undefined variable using Rails 4 master and Foundation (run rake assets:precompile)
require "bundler"
Bundler.require
class MyApp < Rails::Application
config.assets.precompile = ["test.css"]
config.assets.paths += ["."]
config.assets.paths += Compass::Frameworks::ALL.map {|framework| framework.stylesheets_directory}
config.assets.paths << File.join(Foundation::Engine.root, "scss")
end
MyApp.initialize!
source :rubygems
gem "rails", github: "rails/rails"
gem "journey", github: "rails/journey"
gem "activerecord-deprecated_finders", github: "rails/activerecord-deprecated_finders"
gem "sprockets-rails", github: "rails/sprockets-rails"
gem "zurb-foundation"
require File.expand_path('../application', __FILE__)
require 'rake'
MyApp::load_tasks
@import "foundation";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment