Sha256: f08977a3b175a64f1b8ba1e6d6b10996f2cf8bbc7d61ef51b4e3d18f86badc5e

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

@echo off

rem Check for funkiness when called from another batch script.
rem We want FULL_PATH to contain the full path to the stella bin directory. 
IF EXIST "%~dp0stella.bat" (set FULL_PATH=%~dp0) ELSE (set FULL_PATH=%~dp$PATH:0)

rem Check for JRuby, otherwise use Ruby.
rem We want EXECUTABLE to contain either "jruby" or "ruby"
IF EXIST "%JRUBY_HOME%" (set EXECUTABLE=jruby) ELSE (set EXECUTABLE=ruby)

rem Call the Ruby script, passing it all the arguments.
@%EXECUTABLE% %FULL_PATH%stella %*

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solutious-stella-0.5.5 bin/stella.bat
stella-0.5.5 bin/stella.bat
stella-0.5.4 bin/stella.bat