diff --git a/Gemfile b/Gemfile index 546128c248..9424fef765 100644 --- a/Gemfile +++ b/Gemfile @@ -60,7 +60,7 @@ if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9.2' gem 'builder' gem 'erubis' gem 'haml', '>= 3.0' - gem 'sass' if RUBY_VERSION < "2.0" + gem 'sass' end if RUBY_ENGINE == "rbx" diff --git a/test/sass_test.rb b/test/sass_test.rb index b95302621c..fec4e2f64d 100644 --- a/test/sass_test.rb +++ b/test/sass_test.rb @@ -1,7 +1,6 @@ require File.expand_path('../helper', __FILE__) begin -raise LoadError, 'sass not supported on Ruby 2.0' if RUBY_VERSION >= '2.0' require 'sass' class SassTest < Test::Unit::TestCase diff --git a/test/scss_test.rb b/test/scss_test.rb index aa43930f61..3d43e88657 100644 --- a/test/scss_test.rb +++ b/test/scss_test.rb @@ -1,7 +1,6 @@ require File.expand_path('../helper', __FILE__) begin -raise LoadError, 'sass not supported on Ruby 2.0' if RUBY_VERSION >= '2.0' require 'sass' class ScssTest < Test::Unit::TestCase