This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push: new e59204b Simplify e59204b is described below commit e59204b05c7134aa65eefab5faec92c808dc4c6b Author: Sebb <s...@apache.org> AuthorDate: Thu Sep 24 17:51:20 2020 +0100 Simplify --- www/board/agenda/daemon/wsc.rb | 4 +++- www/board/agenda/daemon/wss.rb | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/board/agenda/daemon/wsc.rb b/www/board/agenda/daemon/wsc.rb index 51bf41f..5cda25a 100644 --- a/www/board/agenda/daemon/wsc.rb +++ b/www/board/agenda/daemon/wsc.rb @@ -1,5 +1,7 @@ #!/usr/bin/env ruby -$:.unshift File.realpath(File.expand_path('../' * 5 + 'lib', __FILE__)) + +$LOAD_PATH.unshift '/srv/whimsy/lib' + require 'websocket-client-simple' require 'optparse' require 'ostruct' diff --git a/www/board/agenda/daemon/wss.rb b/www/board/agenda/daemon/wss.rb index 7647a3c..5b9d3d9 100755 --- a/www/board/agenda/daemon/wss.rb +++ b/www/board/agenda/daemon/wss.rb @@ -1,5 +1,7 @@ #!/usr/bin/env ruby -$:.unshift File.realpath(File.expand_path('../' * 5 + 'lib', __FILE__)) + +$LOAD_PATH.unshift '/srv/whimsy/lib' + require 'websocket-eventmachine-server' require 'listen' require 'ostruct'