Installing loaders

Top  Previous  Next

Scripts protected with RubyEncoder require installing a RubyEncoder Loader to the target machine in order to run. Protected scripts attempts to find the loader in the rgloader/ directory located within the protected script's directory or parent directories. The code will search for the rgloader/loader.rb helper script in it until it reaches the root / folder.

 

To run protected scripts on the target machine you need to copy the rgloader/ directory with its full content from the RubyEncoder main installation directory to the protected script directory on the target machine. If your project consists of multiple directories, with protected scripts in them, you may copy the rgloader/ directory into your project's top directory - protected scripts will be able to find the loaders there.

 

If you use an FTP client for file transfer make sure you use FTP BINARY mode for uploading loader files to the target machine.

 

It is not required to upload loaders for all supported platforms. You may upload loader.rb helper script and one required loader or only loaders for the target platform. See the next section for details about naming the loader files.

 

GUI has a built-in 'Loaders Installer' which you may find in the File menu.