ruby-packer
Traveling Ruby
ruby-packer | Traveling Ruby | |
---|---|---|
8 | 6 | |
1,555 | 2,005 | |
- | - | |
0.0 | 5.8 | |
8 months ago | over 2 years ago | |
C | Shell | |
MIT License | 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.)
Traveling Ruby
-
Ruby
If you absolutely need a native binary distribution for your apps, there is a project called Traveling Ruby that originated at Phusion, makers of the popular Phusion Passenger Ruby application server. It's worth noting that this project has a number of open issues that are aging and the latest commits are from 2021, so I'm not sure about its current status. There are also important caveats with regard to native extensions and Windows. Given the popularity of packages that require native extensions (like the XML/HTML library Nokogiri), you may find that this solution simply doesn't work for you.
- Is there a way to package up a Ruby script as a desktop executable app?
-
Having issues installing Ruby
You may be to get a precompiled binary with OpenSSL 1.1 statically linked. Maybe Traveling Ruby? https://github.com/phusion/traveling-ruby
-
Alternatives for Ocra ???
There's really not much else in this space. The main alternative - Traveling Ruby - has limitations on Windows and I don't think it supports Ruby 3.0.
-
Vagrant is being rewritten in Go.
But even with all of the above, you're absolutely right, it is just easier to ship a binary blob. That's where the rewrite totally pays off. I just wonder whether the team has stressed all the options when it comes to keep ruby. There are packaging solutions which ship with its own interpreter, such as Travelling Ruby. And mruby could also generate a binary blob, although they'd have to open another can of works, such as finding replacements for dependencies such as net-ssh, which AFAIK can't be used with mruby. So in the end, maybe they did. And given the prevalence of go products in hashicorp, maybe it makes sense to just invest a bit more in it?
-
My Ruby game is getting false positives in virus scanners. Help?
You could try using Traveling Ruby as an alternative to Ocra. I have only used Ocra in the past for this task, but I'd say it's worth a try.
What are some alternatives?
ocra - One-Click Ruby Application Builder
Codacy
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
OctoLinker - OctoLinker — Links together, what belongs together
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.
Hakiri - Secure Ruby apps with Hakiri
Rake - A make-like build utility for Ruby.
Gitlab CI - GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com
rbs - Type Signature for Ruby
PR Dashboard
Ruby on Rails - Ruby on Rails
HuBoard - Kanban board for github issues