Sha256: a2bc957d5323c846da228f373a9ff84923455d238099cefd47ce119b78c35203
Contents?: true
Size: 859 Bytes
Versions: 2
Compression:
Stored size: 859 Bytes
Contents
require 'rubygems' require 'rubygems/command.rb' require 'rubygems/dependency_installer.rb' require '../lib/sass' # This script installs the correct version of listen. Listen versions # beyond 1.1 don't support Ruby 1.8, any RubyGems isn't clever enough # to install the most recent version that works, so we have to do it # manually. puts "Ensuring you have the right version of listen installed." Gem::Command.build_args = ARGV inst = Gem::DependencyInstaller.new if Sass::Util.version_geq(RUBY_VERSION, "1.9.3") puts "Installing listen >= 1.1.0, < 2.5" inst.install "listen", Gem::Requirement.new(">= 1.1.0", "< 2.5") else puts "Installing listen ~> 1.1.0" inst.install "listen", "~> 1.1.0" end # Create a dummy rakefile to indicate success. f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") f.write("task :default\n") f.close
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sass-3.3.0.rc.5 | ext/mkrf_conf.rb |
sass-3.3.0.rc.4 | ext/mkrf_conf.rb |