Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 568 Bytes
# Include hook code here
require File.dirname(__FILE__) + '/lib/acts_as_recommendable'
require File.dirname(__FILE__) + '/lib/progress_bar'
require File.dirname(__FILE__) + '/lib/cache_fix'
# Fix RubyInline's permission problem,
# RubyInline doesn't like directories with
# group write permissions (like /tmp).
ENV['INLINEDIR'] = File.join(Rails.respond_to?(:root) && !Rails.root.nil? ? Rails.root : RAILS_ROOT, 'tmp', 'rubyinline')
begin
require 'inline'
require File.dirname(__FILE__) + '/lib/optimizations'
rescue LoadError; end