detecting rails was breaking features on traivis ci will investigate
This commit is contained in:
parent
89de5cb492
commit
7d22d3668c
@ -98,11 +98,11 @@ module Compass
|
||||
|
||||
# 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
|
||||
if File.exists?(projectize('config/boot.rb')) && configuration_file_path.nil?
|
||||
require 'rails'
|
||||
require projectize('config/application.rb')
|
||||
options[:project_type] = :rails
|
||||
end
|
||||
# if File.exists?(projectize('config/boot.rb')) && configuration_file_path.nil?
|
||||
# require 'rails'
|
||||
# require projectize('config/application.rb')
|
||||
# options[:project_type] = :rails
|
||||
# end
|
||||
|
||||
|
||||
raise ArgumentError, "Too many arguments" if args.any?
|
||||
|
Loading…
Reference in New Issue
Block a user