Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ToolTwist Controller running ruby file in terminal - Fatal error: Unknown payload

I'm trying to run a ruby file that will show git version of a particular payload but I'm getting the following error:

**
** Fatal error: Unknown payload webdesign/gmd.
**

- removing /launchpads/controllerTest/build.xml.
- removing /launchpads/controllerTest/CONFIG_SUMMARY.

my command:

ruby checkLaunchpad.rb --show-payload-versions controllerTest webdesign gmd

I'm also getting same error when --update-payload-cache option was used.

like image 567
ryacii Avatar asked Dec 05 '25 10:12

ryacii


1 Answers

If you need to ruby scripts from the ToolTwist Controller are run from the command line, it is necessary to first set the appropriate environment variables. Normally this is done by running a command something like:

$ . /ControllerV8/setParams

This will set TTC_DEPLOY and TTC_CONFIG, which are used by checkLaunchpad.rb.

(note the space between the . (dot) and the filename.)

like image 159
Philip Callender Avatar answered Dec 08 '25 00:12

Philip Callender



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!