diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-06 18:38:27 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-06 18:38:27 +0200 |
commit | dd7ee082be9e53bbee15144b4c03b42a269b154b (patch) | |
tree | c38a9533be902a62217d08b630fb1581f7ed986d /railties/lib/generators.rb | |
parent | 66d1b968d108787114372144e97f4f817847892b (diff) | |
download | rails-dd7ee082be9e53bbee15144b4c03b42a269b154b.tar.gz rails-dd7ee082be9e53bbee15144b4c03b42a269b154b.tar.bz2 rails-dd7ee082be9e53bbee15144b4c03b42a269b154b.zip |
Use active_support/mini since we just need inflections.
Diffstat (limited to 'railties/lib/generators.rb')
-rw-r--r-- | railties/lib/generators.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/generators.rb b/railties/lib/generators.rb index de751f61a1..dd61a686c2 100644 --- a/railties/lib/generators.rb +++ b/railties/lib/generators.rb @@ -2,11 +2,11 @@ activesupport_path = "#{File.dirname(__FILE__)}/../../activesupport/lib" $:.unshift(activesupport_path) if File.directory?(activesupport_path) begin - require 'active_support/all' + require 'active_support/mini' rescue LoadError require 'rubygems' gem 'activesupport' - require 'active_support/all' + require 'active_support/mini' end $:.unshift(File.dirname(__FILE__)) |