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.
Files changed (2) hide show
  1. data/bin/merb-manage-ctl +10 -1
  2. 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
- `merb -m #{yml["path"]} -k all`
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norr-merb-manage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - El Draper