ruby-packer
ocra
ruby-packer | ocra | |
---|---|---|
8 | 7 | |
1,555 | 832 | |
- | - | |
0.0 | 0.0 | |
8 months ago | 4 months ago | |
C | Ruby | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ruby-packer
- Is there a way to package up a Ruby script as a desktop executable app?
-
Hacker News top posts: Sep 21, 2021
Ruby Packer: distribute your Ruby code as a compiled binary\ (30 comments)
- Ruby Packer: distribute your Ruby code as a compiled binary
-
How do I create a ruby application?
One way around this limitation is to also include a ruby interpreter along with your source code. There are some projects out there that attempt to do just that, each with their own limitations and degrees of success. One such project is https://github.com/pmq20/ruby-packer. With this, you can give it your ruby code and it will bundle it up with a ruby interpreter so that you can hand out a single executable file to run.
-
Ruby through the lens of Go
Go has been used at Flipp for some time now, although not widely in my team. I wanted to use Go to create a command-line executable, something that Ruby unfortunately isn't capable of doing. (There are options, such as ruby-packer, but it seems like a "heavy" solution and doesn't seem to fit the Ruby paradigm.)
ocra
- Ocra: One-Click Ruby Application Builder
-
OCRA Failing to Generate EXE
If updating ocra doesn't solve the problem, try looking at this
-
My Ruby game library, MiniGL, has surpassed 100,000 total downloads
For that I used the Ocra gem.
-
Ruby Packer: distribute your Ruby code as a compiled binary
I've had more success with a similar tool, called ocra [1]
[1] https://github.com/larsch/ocra
-
A small sample of the large amount of content from the free and open source 2D platformer Super Bombinhas, written in Ruby. Download on https://victords.itch.io/super-bombinhas
I use Ocra to create the Windows executable.
-
Do I need to pay to distribute my free software for Windows?
So, the problem I have is quite complicated... I'm packaging a Ruby application. I'm using Ocra for this. What it does is create a self-extracting compressed file containing the Ruby interpreter, any gems and your scripts. This self-extracting behavior is most likely what sometimes triggers the antivirus. Searching for answers in the Ocra GitHub issues, I found posts saying that it will eventually happen and there's no way to definitively fix it. I don't know of any other simple ways to distribute Ruby applications unfortunately.
What are some alternatives?
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
minigl - A minimal Game Library built on top of the Gosu gem.
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
Gosu - 2D game development library for Ruby and C++
Rake - A make-like build utility for Ruby.
gosu - Simple Go-based setuid+setgid+setgroups+exec
rbs - Type Signature for Ruby
MRuby - Lightweight Ruby
Ruby on Rails - Ruby on Rails
willy_the_droid
python-goto - A function decorator, that rewrites the bytecode, to enable goto in Python
traveling-ruby - Self-contained Ruby binaries that can run on any Linux distribution and any macOS machine. [Moved to: https://github.com/phusion/traveling-ruby]