So you want to distribute your Ruby app?
Your users need to install Ruby or use RubyGems. Unless your users are software developers, that's not going to happen.
Luckily there is a solution. That will make it easy for users to use it on Windows, Linux and OS X.
You can use travelling ruby, https://phusion.github.io/traveling-ruby/
Packages can be created for the operating systems. Like so: https://github.com/phusion/traveling-ruby/blob/master/TUTORIAL-1.md
While quite a lot of steps, if you scroll down you see the script to automate the process using rake.
You'll end up with binaries for the operating systems like
- hello-1.0.0-linux-x86.tar.gz,
- hello-1.0.0-linux-x86_64.tar.gz
- hello-1.0.0-osx.tar.gz
Now that's something a user can run easily!
Don't know Ruby? Learn at https://ruby-lang.co/
Top comments (0)