public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/josh/rails.git
Remove trailing '/' from RAILS_ROOT

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Nicholas Seckar (author)
Tue Oct 18 07:08:54 -0700 2005
commit  86bdbc3a62ac125f6928d27bf743fec6c0cca81d
tree    5678423f4f6427ebb93f581cdbfc7f9c5c3209b8
parent  7d8ecad127c8e7b2ffcab883c71e16414a4261c2
...
 
 
 
1
2
3
...
1
2
3
4
5
6
0
@@ -1,3 +1,6 @@
0
+* Remove trailing '/' from RAILS_ROOT [Nicholas Seckar]
0
+
0
+
0
 *0.14.0* (October 16th, 2005)
0
 
0
 * Moved generator folder from RAILS_ROOT/generators to RAILS_ROOT/lib/generators [Tobias Luetke]
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 unless defined?(RAILS_ROOT)
0
 require 'pathname'
0
   root_path = Pathname.new(File.join(File.dirname(__FILE__), '..'))
0
- RAILS_ROOT = root_path.cleanpath.to_s + '/'
0
+ RAILS_ROOT = root_path.cleanpath.to_s
0
 end
0
 
0
 if File.directory?("#{RAILS_ROOT}/vendor/rails")

Comments

    No one has commented yet.