Fix for a compass validator bug due to some internal compass changes.
This commit is contained in:
parent
e4a22c4cbf
commit
ecd1efdea4
2
Gemfile
2
Gemfile
@ -5,7 +5,7 @@ gemspec
|
|||||||
gem "cucumber", "~> 0.9.2"
|
gem "cucumber", "~> 0.9.2"
|
||||||
gem "rspec", "~>2.0.0"
|
gem "rspec", "~>2.0.0"
|
||||||
gem "rails", "~>3.0.0.rc"
|
gem "rails", "~>3.0.0.rc"
|
||||||
gem "compass-validator", "3.0.0"
|
gem "compass-validator", "3.0.1"
|
||||||
gem "css_parser", "~> 1.0.1"
|
gem "css_parser", "~> 1.0.1"
|
||||||
gem "sass", "~>3.1"
|
gem "sass", "~>3.1"
|
||||||
gem "haml", "~> 3.1"
|
gem "haml", "~> 3.1"
|
||||||
|
@ -7,7 +7,7 @@ GIT
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
compass (0.11.1.f248c22)
|
compass (0.11.3.e4a22c4)
|
||||||
chunky_png (~> 1.1)
|
chunky_png (~> 1.1)
|
||||||
fssm (>= 0.2.7)
|
fssm (>= 0.2.7)
|
||||||
sass (~> 3.1)
|
sass (~> 3.1)
|
||||||
@ -51,7 +51,7 @@ GEM
|
|||||||
sys-uname
|
sys-uname
|
||||||
builder (2.1.2)
|
builder (2.1.2)
|
||||||
chunky_png (1.2.0)
|
chunky_png (1.2.0)
|
||||||
compass-validator (3.0.0)
|
compass-validator (3.0.1)
|
||||||
css_parser (1.0.1)
|
css_parser (1.0.1)
|
||||||
cucumber (0.9.4)
|
cucumber (0.9.4)
|
||||||
builder (~> 2.1.2)
|
builder (~> 2.1.2)
|
||||||
@ -136,7 +136,7 @@ DEPENDENCIES
|
|||||||
autotest
|
autotest
|
||||||
autotest-fsevent
|
autotest-fsevent
|
||||||
compass!
|
compass!
|
||||||
compass-validator (= 3.0.0)
|
compass-validator (= 3.0.1)
|
||||||
css_parser (~> 1.0.1)
|
css_parser (~> 1.0.1)
|
||||||
cucumber (~> 0.9.2)
|
cucumber (~> 0.9.2)
|
||||||
diff-lcs (~> 1.1.2)
|
diff-lcs (~> 1.1.2)
|
||||||
|
@ -1,9 +1,16 @@
|
|||||||
begin
|
begin
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
require 'compass-validator'
|
require 'compass-validator'
|
||||||
rescue LoadError
|
rescue LoadError => e
|
||||||
raise Compass::MissingDependency, %Q{The Compass CSS Validator could not be loaded. Please install it:
|
if e.message =~ /core_ext/
|
||||||
|
raise Compass::MissingDependency, <<-ERRORMSG
|
||||||
|
The Compass CSS Validator is out of date. Please upgrade it:
|
||||||
|
sudo gem install compass-validator --version ">= 3.0.1"
|
||||||
|
ERRORMSG
|
||||||
|
else
|
||||||
|
raise Compass::MissingDependency, <<-ERRORMSG
|
||||||
|
The Compass CSS Validator could not be loaded. Please install it:
|
||||||
sudo gem install compass-validator
|
sudo gem install compass-validator
|
||||||
}
|
ERRORMSG
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user