diff options
author | wycats <wycats@gmail.com> | 2010-04-13 14:07:46 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-04-13 14:07:46 -0700 |
commit | 8e9df34fa3fd22719d939ba72f19b3ae9ffcc018 (patch) | |
tree | fb7d56ee45fcf33ac78f6591e1fcd8d8de3a54c4 /railties/guides | |
parent | dc251389d1ab4303b80a22642f4241940b73cbe7 (diff) | |
parent | b4fd5e6f1a00b7c2b482de3d3b99a27adeba5920 (diff) | |
download | rails-8e9df34fa3fd22719d939ba72f19b3ae9ffcc018.tar.gz rails-8e9df34fa3fd22719d939ba72f19b3ae9ffcc018.tar.bz2 rails-8e9df34fa3fd22719d939ba72f19b3ae9ffcc018.zip |
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/initialization.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile index d8d119f608..ddc75b5f28 100644 --- a/railties/guides/source/initialization.textile +++ b/railties/guides/source/initialization.textile @@ -2636,7 +2636,7 @@ The method +find_with_root_flag+ is defined on +Rails::Engine+ (the superclass o root = File.exist?("#{root_path}/#{flag}") ? root_path : default raise "Could not find root path for #{self}" unless root - RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? + RUBY_PLATFORM =~ /mswin|mingw/ ? Pathname.new(root).expand_path : Pathname.new(root).realpath end </ruby> |