norr-merb-manage 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/merb-manage-ctl +10 -1
- metadata +1 -1
data/bin/merb-manage-ctl
CHANGED
@@ -54,7 +54,16 @@ end
|
|
54
54
|
|
55
55
|
# This stops the server as per the specified yml config
|
56
56
|
def stop(yml)
|
57
|
-
|
57
|
+
# Decide which merb to use, frozen merb or global merb
|
58
|
+
if yml["frozen"].nil?
|
59
|
+
`merb -m #{yml["path"]} -k all`
|
60
|
+
else
|
61
|
+
if yml["frozen"]
|
62
|
+
`#{yml['path']}/bin/merb -m #{yml["path"]} -k all`
|
63
|
+
else
|
64
|
+
`merb -m #{yml["path"]} -k all`
|
65
|
+
end
|
66
|
+
end
|
58
67
|
end
|
59
68
|
|
60
69
|
# See if there is a -c argument
|