Default filepath for RUBYSUP is in 'C:\Program Files\Datatex\Ruby2'.
Default filepath for RUBYSUP.ini is in 'C:\Program Files\Datatex\Ruby2'.
See RUBY pop up error: Supervisor: error getting file attributes of .ini file
Enter the IP of the RUBYServer.
Create a short cut in the RUBYSUP folder and send to desktop.
Earlier versions of RUBY Supervisor:
- Overview
When I use the term Ruby or Ruby Server, it means the Ruby application, usually running permanently on a PC close to the PBX.
When I use the term Supervisor or Ruby Supervisor, it refers to the Ruby Supervisor application, usually run by a Call Centre manager.
The Ruby Server must be started by a shortcut which specifies the database location. A simplified view of the command to start Ruby would be:
"Ruby.exe" "Database Location"
By doing this, we're instructing the Ruby Server where to find its database.
The database can even be on a different PC to the Ruby Server.
The command only looks complicated because of the paths which must be included.
A typical command would be:
"C:\Program Files\Datatex\Ruby2\Ruby.exe" "C:\Program Files\Datatex\Ruby2\Data\Ruby.gdb"
There are several ways to connect a Ruby Supervisor to the Ruby Server.
The recommended way is to change the Ruby Server shortcut and
include the name or IP address of the PC as the database location. The
Ruby Server will automatically connect to the PC it's running on for
the database.
Because the Supervisor can connect from a different PC, we need to tell it where to find the database. The Ruby
Server will send the location to the Supervisor, so we tell the Ruby Server
where to find the database.
"C:\Program Files\Datatex\Ruby2\Ruby.exe" "192.168.0.1:C:\Program Files\Datatex\Ruby2\Data\Ruby.gdb"
or
"C:\Program Files\Datatex\Ruby2\Ruby.exe" "gem:C:\Program Files\Datatex\Ruby2\Data\Ruby.gdb"
where gem is the name of the machine
In the example above, the Database Location given is the path to the database
on the PC where the database is. Even if it's a shared folder, it will remain
as C:\Program Files\Datatex\Ruby2\Data\Ruby.gdb
If we did not add the location, Ruby would work, but the Supervisor would try
to access a database on the PC it's on.
The other way to do it is to specify a DBLocation in the Supervisor INI file,
which is called RubySup.ini. In this file, you would put:
DBLocation=192.168.0.1:C:\Program Files\Datatex\Ruby2\Data\Ruby.gdb
This isn't really the best way to do it, since you might have multiple Ruby
Supervisors, each with their own INI file, and each one will have to be
changed if the network configuration on the Ruby Server is changed, or Ruby
is moved to another PC.
Additional notes
- The DBLocation method always overrides what the Ruby Server has sent to
the Supervisor.
In the shortcut for the Supervisor, you do not need to specify any database
location. Just make sure that the INI file is in the same folder as the
Supervisor, and that it has the correct IP address or name for the Ruby Server.
The Ruby Server will give the database location to the Supervisor.