move gem requires

This commit is contained in:
Thomas Reynolds 2011-12-30 19:31:10 -08:00
parent 4422efc270
commit 347eb2c6b8
2 changed files with 2 additions and 2 deletions

View file

@ -3,6 +3,8 @@ libdir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir) $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require "middleman-core" require "middleman-core"
require "sass"
require "coffee_script"
# Top-level Middleman object # Top-level Middleman object
module Middleman module Middleman
@ -40,7 +42,6 @@ module Middleman
autoload :MinifyJavascript, "middleman-more/extensions/minify_javascript" autoload :MinifyJavascript, "middleman-more/extensions/minify_javascript"
end end
require "coffee_script"
Base.register Middleman::Renderers::Haml Base.register Middleman::Renderers::Haml
Base.register Middleman::Renderers::Sass Base.register Middleman::Renderers::Sass
Base.register Middleman::Renderers::Markdown Base.register Middleman::Renderers::Markdown

View file

@ -1,6 +1,5 @@
require "sprockets" require "sprockets"
require "sprockets-sass" require "sprockets-sass"
require "sass"
module Middleman::Renderers::Sass module Middleman::Renderers::Sass
class << self class << self