diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-02-15 10:20:11 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-02-15 10:20:11 -0600 |
commit | eec2d301d4ce9df9c71c1a5aa63053eb970b6818 (patch) | |
tree | 760bf54f7802d3e4f76e2db5bc642bb52637b532 /railties/test/edge_rails.rb | |
parent | 7cff54f5d3ae2e364f0d147ceb86ea701b21389c (diff) | |
download | rails-eec2d301d4ce9df9c71c1a5aa63053eb970b6818.tar.gz rails-eec2d301d4ce9df9c71c1a5aa63053eb970b6818.tar.bz2 rails-eec2d301d4ce9df9c71c1a5aa63053eb970b6818.zip |
Fix test load paths for those not using bundler
Diffstat (limited to 'railties/test/edge_rails.rb')
-rw-r--r-- | railties/test/edge_rails.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/railties/test/edge_rails.rb b/railties/test/edge_rails.rb new file mode 100644 index 0000000000..bd8a674738 --- /dev/null +++ b/railties/test/edge_rails.rb @@ -0,0 +1,14 @@ +require File.expand_path('../../../bundler', __FILE__) + +%w( + actionmailer + actionpack + activemodel + activerecord + activeresource + activesupport + railties +).each do |framework| + framework_path = File.expand_path("../../../#{framework}/lib", __FILE__) + $:.unshift(framework_path) if File.directory?(framework_path) && !$:.include?(framework_path) +end |