Skip to content

Commit

Permalink
Ruby app is now almost identical to the Node.js app :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinson committed Jan 28, 2015
1 parent 3581a39 commit cbbbc3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ruby-app/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# See https://docs.qmachine.org/en/latest/ruby.html for more information.
#
# ~~ (c) SRW, 24 Apr 2013
# ~~ last updated 24 Jan 2015
# ~~ last updated 28 Jan 2015

require 'rubygems'
require 'bundler'
Expand All @@ -25,7 +25,7 @@
worker_procs: Facter.value('ProcessorCount')
}

if (ENV['QM_API_STRING']) then
if (ENV['QM_API_STRING'] != nil) then
options['persistent_storage'] = JSON.parse(ENV['QM_API_STRING'])
end

Expand Down
2 changes: 1 addition & 1 deletion src/ruby-gem
Submodule ruby-gem updated 1 files
+3 −1 lib/qm/service.rb

0 comments on commit cbbbc3a

Please sign in to comment.