compass command is now bundler aware

This commit is contained in:
Scott Davis 2012-01-11 23:24:00 -05:00
parent 7c8c0164b8
commit 233ec887eb

View File

@ -21,6 +21,10 @@ fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
require 'compass/exec' require 'compass/exec'
end end
if defined?(Bundler)
Bundler.require :default, :assets
end
runner = Proc.new do runner = Proc.new do
Compass::Exec::SubCommandUI.new(ARGV).run! Compass::Exec::SubCommandUI.new(ARGV).run!
end end