No Such File or Directory Connector Error
search cancel

No Such File or Directory Connector Error

book

Article ID: 102133

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

When launching a connector, an error is displayed similar to the following:
ruby: No such file or directory -- ca_agile_central2__connector.rb (LoadError)

 

Environment

Windows

JIRA Work Item Connector
HP ALM Work Item Connector
 

Cause

This can be caused by trying to run the connector through the ruby interprete.  For example:
ruby ca_agile_central2_jira_connector.rb config.xml -1

The ruby interpreter may be unable to find ca_agile_central2_jira_connector.rb

Resolution

Windows provides a batch file for the connector which can be utilized instead.

To work around the error, run the command below that corresponds to your connector type.  Notice the lack of the ruby command at the beginning of the line.

JIRA

ca_agile_central2_jira_connector.rb <config.xml> -1


HP ALM

ca_agile_central2_hpalm_connector.rb <config.xml> -1



Note that this method requires you to have .rb files associated with the ruby interpreter in your environment