mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
13 lines
359 B
Ruby
13 lines
359 B
Ruby
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'
|