DEV Community

petercour
petercour

Posted on

3

Distributable Ruby apps

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/

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay