detecting rails was breaking features on traivis ci will investigate

This commit is contained in:
Scott Davis 2011-12-11 01:38:11 -05:00
parent 89de5cb492
commit 7d22d3668c

View File

@ -98,11 +98,11 @@ module Compass
# TODO make this better i don't think it belongs here but it gets the job done # TODO make this better i don't think it belongs here but it gets the job done
# This will allow compass to boot rails and load the config if its configured in the application.rb file via railtie # This will allow compass to boot rails and load the config if its configured in the application.rb file via railtie
if File.exists?(projectize('config/boot.rb')) && configuration_file_path.nil? # if File.exists?(projectize('config/boot.rb')) && configuration_file_path.nil?
require 'rails' # require 'rails'
require projectize('config/application.rb') # require projectize('config/application.rb')
options[:project_type] = :rails # options[:project_type] = :rails
end # end
raise ArgumentError, "Too many arguments" if args.any? raise ArgumentError, "Too many arguments" if args.any?