You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/10/03 15:39:28 UTC

[whimsy] branch master updated: specify current ruby interpreter

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  0fe38d0   specify current ruby interpreter
0fe38d0 is described below

commit 0fe38d08928ffa8d28b89f44fecc431ad5cc3406
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Oct 3 11:39:10 2016 -0400

    specify current ruby interpreter
---
 www/board/agenda/daemon/wss.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/daemon/wss.rb b/www/board/agenda/daemon/wss.rb
index 47f7126..7b39312 100755
--- a/www/board/agenda/daemon/wss.rb
+++ b/www/board/agenda/daemon/wss.rb
@@ -5,6 +5,7 @@ require 'listen'
 require 'ostruct'
 require 'optparse'
 require 'yaml'
+require 'rbconfig'
 
 clients = []
 
@@ -70,7 +71,7 @@ exit 0 if options.kill
 
 listener = Listen.to(__dir__) do |modified, added, removed|
   puts 'restarting'
-  exec File.expand_path(__FILE__), *ARGV
+  exec RbConfig.ruby, File.expand_path(__FILE__), *ARGV
 end
 listener.start
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].