public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Add note on which options must only be set using command line (see 
details).

As #229 and #297 in -core state, people try to set every possible option
in init file. On server start and pid file drop, though, init file(s) are
not yet loaded. So, setting pid file or port in init file makes no sense.
Defaults are being used and it causes confusion in future.

Given all this, add a note in generated init file.
Mon May 12 07:20:39 -0700 2008
commit  71dbc1474f9c05a824b22a44cd97ff30abfa0a36
tree    8e150227965bddbbe80b2bce62e0e77f31f0bc61
parent  5790d79ee3ba63de69bdf242ea66a877ded703f6
...
95
96
97
98
99
100
101
 
 
 
 
 
 
 
 
 
 
 
102
103
104
...
95
96
97
 
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
0
@@ -95,10 +95,20 @@ end
0
 <%= "# " unless default_test_suite?(:test) %>use_test :test_unit
0
 <%= "# " unless default_test_suite?(:spec) %>use_test :rspec
0
 
0
-
0
 #
0
 # ==== Set up your basic configuration
0
 #
0
+
0
+# IMPORTANT:
0
+#
0
+# early on Merb boot init file is not yet loaded.
0
+# Thus setting PORT, PID FILE and ADAPTER using init file does not
0
+# make sense and only can lead to confusion because default settings
0
+# will be used instead.
0
+#
0
+# Please use command line options for them.
0
+# See http://wiki.merbivore.com/pages/merb-core-boot-process
0
+# if you want to know more.
0
 Merb::Config.use do |c|
0
 
0
   # Sets up a custom session id key, if you want to piggyback sessions of other applications

Comments