parent
9aea35738d
commit
92080bd337
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,11 +18,9 @@ test/fixtures/stylesheets/*/sass/.sass-cache
|
|||||||
pkg/*
|
pkg/*
|
||||||
compass-*.gem
|
compass-*.gem
|
||||||
coverage*
|
coverage*
|
||||||
bin/*
|
|
||||||
docs
|
docs
|
||||||
doc-src/tmp
|
doc-src/tmp
|
||||||
doc-src/.bundle
|
doc-src/.bundle
|
||||||
.bundle
|
.bundle
|
||||||
attic
|
attic
|
||||||
.rvmrc
|
|
||||||
devbin
|
devbin
|
||||||
|
34
bin/compass
34
bin/compass
@ -1,16 +1,26 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
#
|
# The compass command line utility
|
||||||
# This file was generated by Bundler.
|
|
||||||
#
|
|
||||||
# The application 'compass' is installed as part of a gem, and
|
|
||||||
# this file is here to facilitate running it.
|
|
||||||
#
|
|
||||||
|
|
||||||
require 'pathname'
|
# This allows compass to run easily from a git checkout without install.
|
||||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
def fallback_load_path(path)
|
||||||
Pathname.new(__FILE__).realpath)
|
retried = false
|
||||||
|
begin
|
||||||
|
yield
|
||||||
|
rescue LoadError
|
||||||
|
unless retried
|
||||||
|
$: << path
|
||||||
|
retried = true
|
||||||
|
retry
|
||||||
|
end
|
||||||
|
raise
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
require 'rubygems'
|
fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
|
||||||
require 'bundler/setup'
|
require 'compass'
|
||||||
|
require 'compass/exec'
|
||||||
|
end
|
||||||
|
|
||||||
load Gem.bin_path('compass', 'compass')
|
|
||||||
|
command_line_class = Compass::Exec::Helpers.select_appropriate_command_line_ui(ARGV)
|
||||||
|
exit command_line_class.new(ARGV).run!
|
||||||
|
Loading…
Reference in New Issue
Block a user