Exerb
Packaged ruby source files and required other (*.rb *.so *.dll) to a .exe file.
Installation
-
install RubyInstaller's DevKit
from
http://rubyinstaller.org/add-ons/devkit
download and install
cd %DEVKITPATH% # install path, like c:/rbmingw
ruby dk.rb init
notepad config.yml # edit config file, set ruby installed path
ruby install
ruby -e "require 'devkit'; puts ENV['RI_DEVKIT']" # test, ensure the path is %DEVKITPATH% -
install gem
gem install exerb
Usage
-
generate one or more ruby source files do some thing and test it
ruby r1.rb arg1 arg2 arg3
-
make exy file from ruby source file
mkexy -- r1.rb arg1 arg2 arg3 # or
ruby -r exerb/mkexy r1.rb arg1 arg2 arg3 -
check r1.exy file, check every required files.
can be changegeneral.core
tocui/gui
, addresource
,path
section
more demo old_*.exy in example/ and test/ directory -
generate exe file
exerb -v r1.exy
-
execute EXE file
r1.exe arg1 arg2 arg3 # can receive some result as ruby r1.rb arg1 arg2 arg3
Contributing
- Fork it ( https://github.com/[my-github-username]/exerb/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request