The R package is in subfolder R. To install, do the following:
Open a terminal in the R folder
$ sudo R CMD REMOVE GCAT # do this if an older version of GCAT has been installed
$ sudo R CMD INSTALL GCAT
The rails application is in subfolder Rails. It runs under Rails 3.2.15. To run it locally using the default Rails WEBrick web server do the following: