From 86bdbc3a62ac125f6928d27bf743fec6c0cca81d Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Tue, 18 Oct 2005 14:08:54 +0000 Subject: [PATCH] Remove trailing '/' from RAILS_ROOT git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 3 +++ railties/environments/boot.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 202aa45a61..e0d3b5df58 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,3 +1,6 @@ +* Remove trailing '/' from RAILS_ROOT [Nicholas Seckar] + + *0.14.0* (October 16th, 2005) * Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke] 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")