parent
9aea35738d
commit
92080bd337
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,11 +18,9 @@ test/fixtures/stylesheets/*/sass/.sass-cache
|
||||
pkg/*
|
||||
compass-*.gem
|
||||
coverage*
|
||||
bin/*
|
||||
docs
|
||||
doc-src/tmp
|
||||
doc-src/.bundle
|
||||
.bundle
|
||||
attic
|
||||
.rvmrc
|
||||
devbin
|
||||
|
34
bin/compass
34
bin/compass
@ -1,16 +1,26 @@
|
||||
#!/usr/bin/env ruby
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The compass command line utility
|
||||
|
||||
require 'pathname'
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
||||
Pathname.new(__FILE__).realpath)
|
||||
# This allows compass to run easily from a git checkout without install.
|
||||
def fallback_load_path(path)
|
||||
retried = false
|
||||
begin
|
||||
yield
|
||||
rescue LoadError
|
||||
unless retried
|
||||
$: << path
|
||||
retried = true
|
||||
retry
|
||||
end
|
||||
raise
|
||||
end
|
||||
end
|
||||
|
||||
require 'rubygems'
|
||||
require 'bundler/setup'
|
||||
fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
|
||||
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