From: Eran Gross Date: 2013-02-24T22:36:20+09:00 Subject: rubyscript2exe.rb does not include the require files I have a large script, the main script is written last in the end of the file. I have a condition from line 520 if (is_version5 == 1) require 'FortiManagerWSxmlDriver5_0.rb' else require 'FortiManagerWSxmlDriver.rb' end I have two scripts that were generated by wsdl2ruby and I am checking the version of the product, if it is version 5 to use one script if other to use the other one, the problem is that rubyscript2exe.rb does not take it when compile the script, I can not change the location the main because other things are starting to break. The question is there a way to make the rubyscript2exe to take these files as well. If I put them in the top, the rubyscript2exe take them but then my code is breaking as I have the same class names in both files. Any idea how to solve it. I tried also the load instead of the require, the same issue. Thanks Eran -- Posted via http://www.ruby-forum.com/.