Use the new Sass gem now.
This commit is contained in:
parent
488fddfff5
commit
d1708dd2c3
2
Gemfile
2
Gemfile
@ -1,4 +1,4 @@
|
||||
source :rubygems
|
||||
bf9d3d5..34bbb29source :rubygems
|
||||
|
||||
gem "compass", :path => "."
|
||||
gem "cucumber"
|
||||
|
@ -7,7 +7,7 @@ Gem::Specification.new do |gemspec|
|
||||
gemspec.date = "#{Time.now.year}-#{Time.now.month}-#{Time.now.day}" # Automatically update for each build
|
||||
gemspec.description = "Compass is a Sass-based Stylesheet Framework that streamlines the creation and maintainance of CSS."
|
||||
gemspec.homepage = "http://compass-style.org"
|
||||
gemspec.authors = ["Chris Eppstein", "Eric A. Meyer", "Brandon Mathis"]
|
||||
gemspec.authors = ["Chris Eppstein", "Eric A. Meyer", "Brandon Mathis", "Nico Hagenburger"]
|
||||
gemspec.email = "chris@eppsteins.net"
|
||||
gemspec.default_executable = "compass"
|
||||
gemspec.executables = %w(compass)
|
||||
@ -15,7 +15,9 @@ Gem::Specification.new do |gemspec|
|
||||
gemspec.require_paths = %w(lib)
|
||||
gemspec.rubygems_version = "1.3.5"
|
||||
gemspec.summary = %q{A Real Stylesheet Framework}
|
||||
|
||||
gemspec.add_dependency('sass', '~> 3.1')
|
||||
|
||||
gemspec.files = %w(README.markdown LICENSE.markdown VERSION.yml Rakefile)
|
||||
gemspec.files += Dir.glob("bin/*")
|
||||
gemspec.files += Dir.glob("examples/**/*.*")
|
||||
|
@ -2,5 +2,12 @@ begin
|
||||
require 'sass'
|
||||
rescue LoadError
|
||||
require 'rubygems'
|
||||
begin
|
||||
require 'sass'
|
||||
rescue LoadError
|
||||
puts "Unable to load Sass. Please install it with one of the following commands:"
|
||||
puts " gem install sass --pre"
|
||||
puts " gem install haml"
|
||||
raise
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user