diff options
author | Nicholas Seckar <nseckar@gmail.com> | 2005-10-18 14:08:54 +0000 |
---|---|---|
committer | Nicholas Seckar <nseckar@gmail.com> | 2005-10-18 14:08:54 +0000 |
commit | 86bdbc3a62ac125f6928d27bf743fec6c0cca81d (patch) | |
tree | 5678423f4f6427ebb93f581cdbfc7f9c5c3209b8 /railties/environments/boot.rb | |
parent | 7d8ecad127c8e7b2ffcab883c71e16414a4261c2 (diff) | |
download | rails-86bdbc3a62ac125f6928d27bf743fec6c0cca81d.tar.gz rails-86bdbc3a62ac125f6928d27bf743fec6c0cca81d.tar.bz2 rails-86bdbc3a62ac125f6928d27bf743fec6c0cca81d.zip |
Remove trailing '/' from RAILS_ROOT
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments/boot.rb')
-rw-r--r-- | railties/environments/boot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/environments/boot.rb b/railties/environments/boot.rb index 9e35fb6c15..9715482cfc 100644 --- a/railties/environments/boot.rb +++ b/railties/environments/boot.rb @@ -1,7 +1,7 @@ unless defined?(RAILS_ROOT) require 'pathname' root_path = Pathname.new(File.join(File.dirname(__FILE__), '..')) - RAILS_ROOT = root_path.cleanpath.to_s + '/' + RAILS_ROOT = root_path.cleanpath.to_s end if File.directory?("#{RAILS_ROOT}/vendor/rails") |