whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: specify current ruby interpreter
Date Mon, 03 Oct 2016 15:39:28 GMT
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 <rubys@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" <commits@whimsical.apache.org>'].

Mime
View raw message