Ruby on Rails Sunday, October 8, 2017

Hi Jesse,

Rb2exe project uses Traveling Ruby (TR) binaries:

And unfortunately, it has been 3 years since their last update.

BTW, rb2exe is just a packer for TR. If you use TR, you will end up with a folder with many files. Rb2exe just packs everything into a single auto-executable zipped file.

To update rb2exe with a most recent ruby version, it will be necessary to find another standalone ruby binary. I think it's possible to either use Ruby Ship or to update Traveling Ruby by reproducing the same steps they have used (link here).

I wish I had more time to update it, but anyways please feel free to contribute.

--
Daniel Loureiro
------------------------------

On Sun, Oct 8, 2017 at 8:54 AM, Jesse Zink <jlzink1@gmail.com> wrote:
I'd be interested in using this, but the fact that you made it require Ruby version 2.2.2 is a downfall, as I use 2.3.1  How might I make this work with 2.3.1?

On Monday, September 26, 2016 at 3:21:43 PM UTC-5, Daniel Loureiro wrote:
Hi guys, 

I was struggling to find a tool to convert my ruby scripts into portable executable apps. I tried a lot of solutions (crate, releasy, etc) but none of them seemed to work. They are or too complicated for my taste or just broken. So, I wrote my own tool: https://github.com/loureirorg/rb2exe

It supports Rails and Gemfile, btw. It doesn't compile nor obfuscate the code: it just packages a stand-alone ruby interpreter, plus your project/script, into a self-extracted, self-executable file. This allows to easily distribute and execute the app on machines that don't have a ruby installed.

I wrote it for my own needs, so it can be considered "limited" for someone purposes, but I'm sharing it here as an alternative.

In case anyone wants to hack it or understand its internals, I also wrote a step-by-step guide:

Thanks.




--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/eAxJf-lA-IA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c54f7a25-d0ed-4458-9218-a28e7c5dbbbf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADfcnDkyf_PL%3DtcarDTZn3Zk0psBN84fN%2BsS7_%3DCYm2dKA%2B0uA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment