Outdated content for railties/bin/rails ?

I might be wrong, but here it goes:

From the doc (http://guides.rubyonrails.org/initialization.html#railties-bin-rails):

The rails in the command rails server is a ruby executable in your load path. This executable contains the following lines:

version = “>= 0”
load Gem.bin_path(‘railties’, ‘rails’, version)


But https://github.com/rails/rails/blob/v4.2.1/railties/bin/rails content showed:

#!/usr/bin/env ruby

git_path = File.expand_path(’…/…/…/.git’, FILE)

if File.exist?(git_path)
railties_path = File.expand_path(’…/…/lib’, FILE)
require “rails/cli”


Am I missing something here?

That guide is just an early draft that should be totally rewritten. Should probably remove it from the index.