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 | |
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
-rw-r--r-- | railties/CHANGELOG | 3 | ||||
-rw-r--r-- | railties/environments/boot.rb | 2 |
2 files changed, 4 insertions, 1 deletions
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") |