Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.703 kB
require 'bundler/setup'
Bundler.require
require 'sass/plugin/rack'
ROOT_DIR = File.dirname(__FILE__)
Compass.add_project_configuration Compass::Configuration::Data.new('equip', {
:http_path => '/',
:css_dir => './public/stylesheets',
:sass_dir => './public/stylesheets',
:images_dir => './vendor/assets/images',
:javascripts_dir => './vendor/assets/javascripts',
:relative_assets => false
})
Compass.configure_sass_plugin!
use Rack::ShowStatus
use Rack::ShowExceptions
use Sass::Plugin::Rack
use Rack::Static, :index => 'index.html', :root => 'public'
use Rack::Static, :urls => ['/images', '/fonts', '/javascripts'], :root => 'vendor/assets'
run Rack::File.new(File.join(ROOT_DIR, 'public'))
Jump to Line
Something went wrong with that request. Please try again.