# Encoding Rails project source code

**URL:** <https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303>\
**Category:** Rails\
**Created:** [March 1, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303 "2007-03-01T15:49:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2007, 3:49pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303/1 "2007-03-01T15:49:42Z")

</div>

Hello,

After weeks of speaking with my boss, I’ve finally convinced him to  
allow me to switch our in-house PHP application (for inventory  
control, employee monitoring, etc.) to Ruby on Rails.

He told me that once the application was running smoothly, he plans to  
commercialize it for our specific industry. However, he asked if there  
was some sort of way to encode the source code so that if he sells it,  
no one can modify it, for obvious reasons.

I know that PHP has some programs that encode the source code of the  
application, making the application usable, but it cannot be modified  
(Using Google to search for “PHP Encoder” brings up many different  
results). I was wondering, is there something similar for Rails?  
Searching Google didn’t get me much information. If such a thing  
exists, I’ll be working on Rails full time, which is what I’ve wanted  
for a long time!

Any information will be greatly appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303/2 "2007-03-01T15:57:43Z")

</div>

On Thu, Mar 01, 2007 at 06:48:35AM -0800, removed\_email\_address@domain.invalid wrote :

> Hello,

Hi,

> After weeks of speaking with my boss, I’ve finally convinced him to  
> allow me to switch our in-house PHP application (for inventory  
> control, employee monitoring, etc.) to Ruby on Rails.

Good for you!

> I was wondering, is there something similar for Rails?  
> Searching Google didn’t get me much information. If such a thing  
> exists, I’ll be working on Rails full time, which is what I’ve wanted  
> for a long time!

I have the same problem with my current project. It’s almost complete  
but we  
don’t know how to encode it yet. We didn’t find a solution :’(

> Any information will be greatly appreciated. Thanks!

+1

Have fun,

–  
,========================.  
| Pierre-Alexandre M. |  
| email : removed\_email\_address@domain.invalid |  
`========================’

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2007, 4:23pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303/3 "2007-03-01T16:23:48Z")

</div>

On Mar 1, 6:48 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I know that PHP has some programs that encode the source code of the  
> application, making the application usable, but it cannot be modified  
> (Using Google to search for “PHP Encoder” brings up many different  
> results). I was wondering, is there something similar for Rails?  
> Searching Google didn’t get me much information. If such a thing  
> exists, I’ll be working on Rails full time, which is what I’ve wanted  
> for a long time!
> 
> Any information will be greatly appreciated. Thanks!

This is pretty FAQ. google ruby-talk archiev (AND c.l.ruby archive,  
they diverged for a few months last year or year before) for “protect/  
obscure/hide/ source code”  
[http://rubystuff.org/nodewrap/#tools](http://rubystuff.org/nodewrap/#tools)  
[http://blog.zenspider.com/archives/zenobfuscate/](http://blog.zenspider.com/archives/zenobfuscate/)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2007, 5:56pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303/4 "2007-03-01T17:56:00Z")

</div>

On Mar 1, 7:41 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I was actually searching for “Rails encoding”, but totally forgot  
> about the “Ruby” aspect of it. Sorry about that.
> 
> I’ve checked those links out, and once I get my project underway, I’ll  
> verify the software and hopefully it’ll be just what I need. Thank you  
> very much for the quick help!

also very effective:  
[http://redhanded.hobix.com/inspect/streamCopyYoutubeRevverEtc.html](http://redhanded.hobix.com/inspect/streamCopyYoutubeRevverEtc.html)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 1, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/encoding-rails-project-source-code/87303/5 "2007-03-01T16:41:50Z")

</div>

I was actually searching for “Rails encoding”, but totally forgot  
about the “Ruby” aspect of it. Sorry about that.

I’ve checked those links out, and once I get my project underway, I’ll  
verify the software and hopefully it’ll be just what I need. Thank you  
very much for the quick help!
