public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Click here to lend your support to: mack and make a donation at www.pledgie.com !
Fixed bad environment lookup.
markbates (author)
Tue May 06 10:10:11 -0700 2008
commit  dbb0422e336f7e29bfbd1936edb6d938c7cf7ce4
tree    a513e999e059e4ce2ce4b067c7fa5d629ddca0b9
parent  17af32e3befb957dac1df35a0c9ac4383a710aed
...
22
23
24
25
26
 
 
27
28
29
...
22
23
24
 
 
25
26
27
28
29
0
@@ -22,8 +22,8 @@ namespace :mack do
0
         d_handler = "thin"
0
       rescue Exception => e
0
       end
0
-
0
- Mack::Configuration.root = FileUtils.pwd unless Object.const_defined?("Mack::Configuration.root")
0
+
0
+ Mack::Configuration.set(:root, FileUtils.pwd) if Mack::Configuration.root.nil?
0
 
0
       options = OpenStruct.new
0
       options.port = (ENV["PORT"] ||= "3000") # Does NOT work with Thin!! You must edit the thin.yml file!

Comments

    No one has commented yet.