# RubyEncoder

> Protect your Ruby and Rails code: compiles Ruby source to bytecode and encrypts it

Source: https://talira.ai/catalog/rubyencoder-g6gt9gcf
Every listing: https://talira.ai/catalog.md

- Kind: Commercial software
- Types: Command-line tool, Desktop app
- Categories: [security / code protection](https://talira.ai/categories/security/code-protection), [languages / ruby](https://talira.ai/categories/languages/ruby)
- Platforms: macos, windows, linux[^2][^6]
- Licence: proprietary[^6]
- Pricing: Paid[^3][^4][^5][^6]
- Pricing notes: One-time purchase with one year of support and upgrades: RubyEncoder 3 (listed as legacy) for macOS, Linux, Windows or FreeBSD CLI, $299.00 each (VAT included), a licence to use the encoder on one machine. 14-day free trial of the full version. Loaders and distribution of encoded files are free.
- Free tier: no[^3][^4][^5][^6]
- Self-hostable: yes[^7]
- Made by: [SourceGuardian](https://talira.ai/orgs/sourceguardian.md)

RubyEncoder protects Ruby and [Ruby on Rails](https://talira.ai/catalog/ruby-on-rails-xkdcpj5k.md) code you distribute by compiling the source into bytecode and encrypting it, so the files still run but contain no Ruby source to recover. Encoded files run through the free RubyEncoder Loader, a compiled Ruby module for each OS and platform that you ship with your app, and you can encode only some files (Rails controllers, models, helpers, config) and leave others editable. Scripts can be locked to IP addresses, domain names or MAC addresses, given an expiry date or a number of days for trial versions, or made to need a licence file, so one build serves customers with different licences. The encoder comes as a GUI for [macOS](https://talira.ai/catalog/macos-8swyggxb.md), Windows and Linux plus a command-line encoder, and is made by SourceGuardian, the maker of the SourceGuardian PHP encoder.

## Links

- Website: https://www.rubyencoder.com/
- Docs: https://www.rubyencoder.com/support.html
- Pricing: https://www.rubyencoder.com/pricing.html

## Problems it solves

- ship our Rails app to customers' servers without handing over readable Ruby source code
- stop a client from copying our Ruby application to more servers than they licensed
- lock a distributed Ruby script so it only runs on a given domain, IP address or MAC address
- give prospects a trial build of our on-premise Ruby software that stops working after 30 days
- issue per-customer licence files for one encoded build of our Ruby product
- hide database passwords and business logic in Ruby files we deliver to a client
- deliver Ruby work to a client in a locked form until the invoice is paid
- obfuscate Ruby on Rails models and controllers while leaving config files editable for customers

## Features

- compiles Ruby source to bytecode and encrypts it
- encodes Ruby on Rails controllers, models, helpers and Ruby config files
- partial encoding: some files stay open and editable
- lock scripts to IP addresses, domain names or LAN/MAC addresses
- expiry dates or a number of days for trial versions
- licence files, distributed with the script or separately
- cross-platform: a script encoded on one OS runs on every supported OS
- free loaders for macOS, Linux, FreeBSD, Windows (RubyInstaller/MinGW and native) and embedded Linux on ARM
- GUI for macOS, Windows and Linux, plus a command-line encoder
- encoded files can be distributed without extra licences

## Limitations

- Not uncrackable: the maker says no protection system is 100% foolproof[^1]
- Encoded files don't run without the RubyEncoder Loader: a compiled module for each OS and platform[^2]
- Released RubyEncoder 3 encodes for Ruby up to 3.2: Ruby 3.3 and 3.4 need RubyEncoder 3.4, out as a trial[^2][^3]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.26 out of 1.
Signals: backing 0.30, extensibility 0.20.

- made by SourceGuardian

## Sources

[^1]: https://www.rubyencoder.com/faqs-protect-ruby-scripts-FAQs-Security-category-3.html (checked 20 Nov 2026)
[^2]: https://www.rubyencoder.com/overview.html (checked 20 Nov 2026)
[^3]: https://www.rubyencoder.com/ (checked 20 Nov 2026)
[^4]: https://www.rubyencoder.com/buy_now.html (checked 20 Nov 2026)
[^5]: https://www.rubyencoder.com/pricing.html (checked 20 Nov 2026)
[^6]: https://www.rubyencoder.com/faqs-protect-ruby-scripts-FAQs-General-Questions-and-Purchasing-category-1.html (checked 20 Nov 2026)
[^7]: https://www.rubyencoder.com/download.html (checked 20 Nov 2026)
