aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorpbflinn <pbflinn@gmail.com>2011-08-01 12:53:43 -0300
committerXavier Noria <fxn@hashref.com>2011-08-04 16:41:30 -0700
commit9e1a27a0ac4ef246079ac6f61f5b5916c68d0497 (patch)
tree17154dfca95e27017fd8c7dfa45d9b5827b0c8e2 /railties
parentf3564b9e22ae318dadee6c21c52aba01f91b27bb (diff)
downloadrails-9e1a27a0ac4ef246079ac6f61f5b5916c68d0497.tar.gz
rails-9e1a27a0ac4ef246079ac6f61f5b5916c68d0497.tar.bz2
rails-9e1a27a0ac4ef246079ac6f61f5b5916c68d0497.zip
Fix typo 'console' -> 'constant'
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/initialization.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/initialization.textile b/railties/guides/source/initialization.textile
index 477ee5a3a2..9b92edd250 100644
--- a/railties/guides/source/initialization.textile
+++ b/railties/guides/source/initialization.textile
@@ -71,7 +71,7 @@ module Rails
end
</ruby>
-The +rails/script_rails_loader+ file uses +RbConfig::Config+ to gather up the +bin_dir+ and +ruby_install_name+ values for the configuration which will result in a path such as +/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby+, which is the default path on Mac OS X. If you're running Windows the path may be something such as +C:/Ruby192/bin/ruby+. Anyway, the path on your system may be different, but the point of this is that it will point at the known ruby executable location for your install. The +RbConfig::CONFIG["EXEEXT"]+ will suffix this path with ".exe" if the script is running on Windows. This constant is used later on in +exec_script_rails!+. As for the +SCRIPT_RAILS+ console, we'll see that when we get to the +in_rails_application?+ method.
+The +rails/script_rails_loader+ file uses +RbConfig::Config+ to gather up the +bin_dir+ and +ruby_install_name+ values for the configuration which will result in a path such as +/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby+, which is the default path on Mac OS X. If you're running Windows the path may be something such as +C:/Ruby192/bin/ruby+. Anyway, the path on your system may be different, but the point of this is that it will point at the known ruby executable location for your install. The +RbConfig::CONFIG["EXEEXT"]+ will suffix this path with ".exe" if the script is running on Windows. This constant is used later on in +exec_script_rails!+. As for the +SCRIPT_RAILS+ constant, we'll see that when we get to the +in_rails_application?+ method.
Back in +rails/cli+, the next line is this: