rails_root = File.dirname(__FILE__) + '/rails_root' require rails_root + '/config/environment.rb' require File.join(File.dirname(__FILE__), '..', 'lib', 'truncate_html')