Project

exerb

0.0
No commit activity in last 3 years
No release in over 3 years
Exerb support for mingw/rubyinstaller. Packaged ruby source files and ruby extensions files into a single PE executable file.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
> 0.1
 Project Readme

Exerb

Packaged ruby source files and required other (*.rb *.so *.dll) to a .exe file.

Installation

  1. 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%

  2. install gem

    gem install exerb

Usage

  1. generate one or more ruby source files do some thing and test it

    ruby r1.rb arg1 arg2 arg3

  2. make exy file from ruby source file

    mkexy -- r1.rb arg1 arg2 arg3 # or
    ruby -r exerb/mkexy r1.rb arg1 arg2 arg3

  3. check r1.exy file, check every required files.
    can be change general.core to cui/gui, add resource , path section
    more demo old_*.exy in example/ and test/ directory

  4. generate exe file

    exerb -v r1.exy

  5. execute EXE file

    r1.exe arg1 arg2 arg3 # can receive some result as ruby r1.rb arg1 arg2 arg3

Contributing

  1. Fork it ( https://github.com/[my-github-username]/exerb/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request