doc/rdocs/index.html in rcmd-1.6.2 vs doc/rdocs/index.html in rcmd-1.6.3

- old
+ new

@@ -171,14 +171,18 @@ node12 :: node12.example.com</pre> <h2 id="label-Database+backend+support">Database backend support<span><a href="#label-Database+backend+support">&para;</a> <a href="#top">&uarr;</a></span></h2> <p>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.</p> +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 &#39;requires&#39; in lib/rcmd/db.rb accordingly.</p> +<p>I tried having all of types in there but the dependency requirements became +too great, both within Ruby and development libraries on the system.</p> + <p>To set up the database backend run rcmd with the &#39;-C&#39; 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: <em>MUST</em> be set so the command knows what column contains @@ -217,9 +221,17 @@ <p>OS query (Match all hosts listed as running slackware): <code>bash daibhidh@darkstar:~/$ rcmd -o &#39;slackware&#39; -c &#39;hostname -f&#39; node10 :: node10.example.com node12 :: node12.example.com node18 :: node18.example.com node17 :: node17.example.com node11 :: node11.example.com </code></p> + +<h2 id="label-Database+Issues">Database Issues<span><a href="#label-Database+Issues">&para;</a> <a href="#top">&uarr;</a></span></h2> + +<p>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 (&gt;= 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.</p> <h1 id="label-Development">Development<span><a href="#label-Development">&para;</a> <a href="#top">&uarr;</a></span></h1> <p>If you are wanting to modify the code by all means do so. If you clone this repository you can then run <code>bundle install</code> to install the