README.md in rcmd-1.6.2 vs README.md in rcmd-1.6.3

- old
+ new

@@ -79,15 +79,20 @@ node12 :: node12.example.com ``` ## Database backend support The database backend support is provided by ActiveRecord and thus -compatible with databases which are supported by ActiveRecord. -Currently the ActiveRecord version is locked to 4.0.0 in the Gemspec -due to compatibilty issues with RHEL, CentOS, and Mac OSx to name a -few. +compatible with databases which are supported by ActiveRecord. Out of +the box mysql2, sqlite3 and postgresql work. To use another database +backend then you will need to download the source, add it to the +rcmd.gemspec file, and correct the 'requires' in lib/rcmd/db.rb +accordingly. +I tried having all of types in there but the dependency requirements +became too great, both within Ruby and development libraries on the +system. + To set up the database backend run rcmd with the '-C' switch first. This will create a database configuration file in ~/.rcmd named dbconfig.yml. In this file you can specify the adapter, and various other soptions for the database backend. For the queries to work properly, the :host_field: *MUST* be set so the command knows what @@ -141,9 +146,16 @@ node12 :: node12.example.com node18 :: node18.example.com node17 :: node17.example.com node11 :: node11.example.com ``` +## Database Issues + +Due to some Operating systems forcing older Ruby versions (RedHat, +CentOS, Mac OS X) rcmd will not install properly on these hosts. You +can either manually install a newer version of Ruby (>= 2.2.2) or you +can try to install activerecord and activesuppert versions 4.2.6. +This might work but I have not fully tested it as of yet. # Development If you are wanting to modify the code by all means do so. If you clone this repository you can then run `bundle install` to install the dependencies needed. Tests are performed with *rspec* and can be run with *rake*.