Created
October 30, 2012 21:05
-
-
Save dlee/3983060 to your computer and use it in GitHub Desktop.
Undefined variable using Rails 4 master and Foundation (run rake assets:precompile)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path('../application', __FILE__) | |
require 'rake' | |
MyApp::load_tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "foundation"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment