Ruby on Rails
Monday, September 26, 2016
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:
http://www.learnwithdaniel.com/2016/08/ruby-to-portable-exe-app/
Thanks.
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/77620ecc-b03f-4e0b-82a5-061724a7cf6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment