I need to deploy a ready-made Ruby on Rails framework system in a client's enterprise, the problem is that this client can not access the source code.
Is there any way to "encrypt" or "compile" my code to be unreadable to third parties?
I need to deploy a ready-made Ruby on Rails framework system in a client's enterprise, the problem is that this client can not access the source code.
Is there any way to "encrypt" or "compile" my code to be unreadable to third parties?
As I said in my comments, I believe it is better to provide the service than the program itself. Also because obfuscating the code does not prevent reverse engineering processes from being made and making code access impossible. That being said, if you opt for this solution, you can overshadow the code by "compiling" it with the Ruby Encoder , for example.
Another alternative would be to make the code in another language (such as C, for example) and just use the Ruby application as a wrapper of that code. This can still bring other benefits, such as gain in performance, for example.
Although you have never looked for something like this, try to use JRuby that can be compiled and run on top of the Java VM and integrate it with Rails through Jetty-Rails. link