RubyGems Navigation menu

gem-exefy 1.2.0-universal-mingw32

GemExefy is RubyGems plugin aimed to replace batch files (.bat) with executables with the same name. This gem will work only on RubyInstaller Ruby installation and it requires RubyInstaller DevKit. Reason for such replaceming batch files with executable stubs is twofold. When execution of batch file is interrupted with Ctrl-C key combination, user is faced with the confusing question "Terminate batch job (Y/N)?" which is avoided after replacement. Second reason is appearance of processes in Task manager (or Process Explorer). In the case of batch files all processes are visible as ruby.exe. In order to distinguish between them, program arguments must be examined. In addition, having one process name makes it hard to define firewall rules. Having executable versions instead of batch files will facilitate process identification in task list as well as defining firewall rules. Moreover it makes it possible to create selective firewall rules for different Ruby gems. Installing Ruby applications as Windows services should be also much easer when executable stub is used instead of batch file.

Gemfile
          gem 'gem-exefy', '~> 1.2.0'
  
  
  
  
  
  
  

install
          gem install gem-exefy
  
  
  
  
  
  
  

Authors:

  • Boško Ivanišević

Owners:

Total downloads 2,998

For this version 1,137

Required Ruby Version: None

Links:

Versions:

  1. 1.2.0 - September 11, 2012 universal-mingw32 (11 KB)
  2. 1.1.0 - September 7, 2012 x86-mingw32 (11 KB)
  3. 1.0.0 - June 25, 2012 x86-mingw32 (10.5 KB)

Development Dependencies: