diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-26 22:22:48 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-12-26 22:22:48 -0800 |
commit | 51d84eff126392e3a19a7e1bf293d1f1eee21623 (patch) | |
tree | 86c04d54ad1dd7fb9d43de858c43e9885939dc28 | |
parent | bdf8ee44c54dec181827c02c2b74ea329bdab931 (diff) | |
download | rails-51d84eff126392e3a19a7e1bf293d1f1eee21623.tar.gz rails-51d84eff126392e3a19a7e1bf293d1f1eee21623.tar.bz2 rails-51d84eff126392e3a19a7e1bf293d1f1eee21623.zip |
Require bundled environment, if present, so Active Support can load i18n
-rw-r--r-- | railties/Rakefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index cb482c90bf..07c2ff84a0 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -1,3 +1,8 @@ +begin + require File.expand_path('../../vendor/gems/environment', __FILE__) +rescue LoadError +end + require 'rake' require 'rake/testtask' require 'rake/rdoctask' |