We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b29ba commit d40773bCopy full SHA for d40773b
1 file changed
chef-server/lib/init.rb
@@ -16,6 +16,8 @@
16
# limitations under the License.
17
#
18
19
+require 'chef'
20
+
21
Merb.root = Chef::Config[:merb_root]
22
23
@@ -138,6 +140,7 @@
138
140
# ==== Set up your basic configuration
139
141
142
Merb::Config.use do |c|
143
+ c[:fork_for_class_load] = false
144
# Sets up a custom session id key, if you want to piggyback sessions of other applications
145
# with the cookie session store. If not specified, defaults to '_session_id'.
146
c[:session_id_key] = '_chef_server_session_id'
@@ -207,3 +210,4 @@
207
210
match('/').to(:controller => 'nodes', :action =>'index').name(:top)
208
211
end
209
212
213
+puts "I have loaded my app?"
0 commit comments