When running rspec on a Rails app that contains an encoded file (or when running rspec on the encoded ruby scripts), you may get the following error [BUG] Segmentation fault at...
The issues with running rspec over encoded files were caused by calling SimpleCov.start from spec/spec_helper.rb.
We are investigating what's wrong with simplecov but for now you may comment out the "SimpleCov.start" line. It's probably no much reason for getting the coverage for encoded file. Rspec itself works fine. Also you may keep spec/* files unencoded, yet re-encoding without the simplecov works too.
The recent version 2.7.5 of RubyEncoder includes the reworked GUI. That was a serious change and the app depends on much more shared libraries. GUI for Linux was build on Debian 10 and must work on it and newer releases of Debian or Ubuntu. It must also work on other modern Linux distros. Sorry, but we did not get a chance to test GUI on other Linux distros or older versions.
If RubyEncoder GUI does not start on your Linux, it's very likely that your system is missing some of the required shared libs. In this case, you may use two commands below to try to know what libs are missed and then either email us or try to install them. Run Terminal app and cd to RubyEncoder installation folder:
> ldd ./RubyEncoder | grep "not found"
if the above command produces no results, try this:
> QT_DEBUG_PLUGINS=1 ./RubyEncoder
If any shared libs are missed, you may read about it in the console. Please let us know and we can add them to the application package.
If you need a quick solution for running GUI, you may also try this and install Qt5. (package name and package manager may differ on your Linux)
sudo apt-get install qt5-default
And finally you may download the CLI version of RubyEncoder which has much less shared libs dependencies or use the CLI version included within GUI in the "bin" subfolder.
Below is a quick update to this FAQ which may help.
All the additional shared libs are included and you may find them in the "lib" subfolder within the installation folder. But if you are getting a message about missed libQt5Core etc, it means your OS is ignoring relative paths to the shared libs as they are set within the executable. In this case you may try running the encoder GUI with the following command or modify RUNME.sh or create your own shell script:
(please change the path to the actual path where the application is installed)