diff options
author | James McKinney <james@slashpoundbang.com> | 2011-10-11 14:38:03 -0400 |
---|---|---|
committer | James McKinney <james@slashpoundbang.com> | 2011-10-11 14:38:03 -0400 |
commit | 0e87f14aeef681477e3e594b8bf0c9d3740cdc1c (patch) | |
tree | 937c1fd06ad65a9233a5fe924aea8c1661f7b0ac /config/boot.rb | |
parent | 19d15135c27d04bb822cc667fddc6305a7d3359c (diff) |
Add a more correct check for vendored Rails, and use non-vendored Rails' gem_dependency.rb if not vendored
Diffstat (limited to 'config/boot.rb')
-rw-r--r-- | config/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/boot.rb b/config/boot.rb index 90fd9cd4d..0f5e661ed 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -31,7 +31,7 @@ module Rails end def vendor_rails? - File.exist?("#{RAILS_ROOT}/vendor/rails") + File.exist?("#{RAILS_ROOT}/vendor/rails/Rakefile") end def preinitialize |