begin require 'active_support' rescue LoadError activesupport_path = "#{File.dirname(__FILE__)}/../../../activesupport/lib" if File.directory?(activesupport_path) $:.unshift activesupport_path require 'active_support' end end # So far, we only need the string inflections and not the rest of ActiveSupport. require 'active_support/inflector'