Find file
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (25 sloc) 591 Bytes
require 'rubygems'
require 'bundler'
Bundler.setup
require 'active_support'
require 'action_controller'
require 'test/unit'
require 'shoulda'
require 'mocha'
begin require 'redgreen'; rescue LoadError; end
begin require 'turn'; rescue LoadError; end
RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), 'app'))
module Rails
class << self
def root
RAILS_ROOT
end
def public_path
File.join(RAILS_ROOT, 'public')
end
def env
"production"
end
end
end
require File.join(File.dirname(__FILE__), '..', 'lib', 'cloudfront_asset_host')