diff options
| author | mo khan <mo@mokhan.ca> | 2015-10-29 20:37:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-10-29 20:37:13 -0600 |
| commit | 23dfea5896da1f6a220fd8739bae130f7cd52d6c (patch) | |
| tree | 9285b34a2351fe28c961c95706580cd5b193f304 | |
| parent | c8e18aa95388971855b5fc6d3f24a250570dd231 (diff) | |
move ruby specific gems to platform block.
| -rw-r--r-- | Gemfile | 11 | ||||
| -rw-r--r-- | Gemfile.lock | 4 | ||||
| -rwxr-xr-x | exe/killjoy | 2 |
3 files changed, 8 insertions, 9 deletions
@@ -10,15 +10,16 @@ gem "rake" gem "serverengine" gem "sinatra" gem "spank" -gem "statsd-ruby" gem "virtus" group :test, :development do + platform :ruby do + gem "byebug" + gem "pry-byebug" + gem "ruby-prof" + gem "stackprof" + end gem "benchmark-ips" - gem "byebug" gem "pry" - gem "pry-byebug" gem "rspec" - gem "ruby-prof" - gem "stackprof" end diff --git a/Gemfile.lock b/Gemfile.lock index 57233f2..0d65a30 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -38,7 +38,7 @@ GEM json (1.8.3) lz4-ruby (0.3.3) method_source (0.8.2) - minitest (5.8.1) + minitest (5.8.2) pry (0.10.3) coderay (~> 1.1.0) method_source (~> 0.8.1) @@ -74,7 +74,6 @@ GEM slop (3.6.0) spank (1.0.1441140881) stackprof (0.2.7) - statsd-ruby (1.2.1) thor (0.19.1) thread_safe (0.3.5) tilt (2.0.1) @@ -107,7 +106,6 @@ DEPENDENCIES sinatra spank stackprof - statsd-ruby virtus BUNDLED WITH diff --git a/exe/killjoy b/exe/killjoy index 1ea8c32..53985f6 100755 --- a/exe/killjoy +++ b/exe/killjoy @@ -7,7 +7,7 @@ require "killjoy/server" shards = ENV.fetch("RMQ_SHARDS", 4).to_i -server = ServerEngine.create(Killjoy::Server, Killjoy::Worker) do +server = ServerEngine::Daemon.new(Killjoy::Server, Killjoy::Worker, {}) do { amqp_uri: ENV.fetch("RABBITMQ_URL", "amqp://guest:guest@localhost:5672"), daemonize: false, |
