Make db_ping.rb easier to run
Make db_ping.rb easier to run

Support users running this as an executable, a ruby script, or through
rails runner:

./tools/db_ping.rb
ruby tools/db_ping.rb
bin/rails r tools/db_ping.rb

* Add executable permission
* Add shebang for ruby
* Load rails automatically

[skip ci]

mfeifer/manageiq,syncrou/manageiq,israel-hdez/manageiq,ManageIQ/manageiq,branic/manageiq,jntullo/manageiq,yaacov/manageiq,ilackarms/manageiq,ilackarms/manageiq,mkanoor/manageiq,ManageIQ/manageiq,mresti/manageiq,agrare/manageiq,NickLaMuro/manageiq,durandom/manageiq,mzazrivec/manageiq,ailisp/manageiq,israel-hdez/manageiq,pkomanek/manageiq,juliancheal/manageiq,israel-hdez/manageiq,yaacov/manageiq,tzumainn/manageiq,pkomanek/manageiq,yaacov/manageiq,mfeifer/manageiq,jameswnl/manageiq,juliancheal/manageiq,d-m-u/manageiq,lpichler/manageiq,gmcculloug/manageiq,mresti/manageiq,lpichler/manageiq,matobet/manageiq,fbladilo/manageiq,mzazrivec/manageiq,skateman/manageiq,gerikis/manageiq,billfitzgerald0120/manageiq,fbladilo/manageiq,romanblanco/manageiq,tzumainn/manageiq,syncrou/manageiq,mfeifer/manageiq,tinaafitz/manageiq,matobet/manageiq,andyvesel/manageiq,hstastna/manageiq,josejulio/manageiq,jrafanie/manageiq,branic/manageiq,agrare/manageiq,djberg96/manageiq,aufi/manageiq,jameswnl/manageiq,mresti/manageiq,kbrock/manageiq,aufi/manageiq,josejulio/manageiq,branic/manageiq,matobet/manageiq,ailisp/manageiq,kbrock/manageiq,chessbyte/manageiq,NaNi-Z/manageiq,juliancheal/manageiq,jvlcek/manageiq,pkomanek/manageiq,jrafanie/manageiq,romanblanco/manageiq,NickLaMuro/manageiq,chessbyte/manageiq,fbladilo/manageiq,jrafanie/manageiq,mzazrivec/manageiq,tzumainn/manageiq,NaNi-Z/manageiq,mkanoor/manageiq,mfeifer/manageiq,mkanoor/manageiq,gmcculloug/manageiq,romanblanco/manageiq,jameswnl/manageiq,gerikis/manageiq,tinaafitz/manageiq,d-m-u/manageiq,yaacov/manageiq,tzumainn/manageiq,ailisp/manageiq,andyvesel/manageiq,skateman/manageiq,gerikis/manageiq,lpichler/manageiq,jameswnl/manageiq,agrare/manageiq,NickLaMuro/manageiq,billfitzgerald0120/manageiq,durandom/manageiq,djberg96/manageiq,hstastna/manageiq,jvlcek/manageiq,d-m-u/manageiq,juliancheal/manageiq,chessbyte/manageiq,josejulio/manageiq,NickLaMuro/manageiq,NaNi-Z/manageiq,matobet/manageiq,hstastna/manageiq,fbladilo/manageiq,djberg96/manageiq,d-m-u/manageiq,jntullo/manageiq,djberg96/manageiq,billfitzgerald0120/manageiq,gmcculloug/manageiq,hstastna/manageiq,lpichler/manageiq,andyvesel/manageiq,borod108/manageiq,durandom/manageiq,ailisp/manageiq,jntullo/manageiq,andyvesel/manageiq,mresti/manageiq,josejulio/manageiq,jntullo/manageiq,borod108/manageiq,skateman/manageiq,gerikis/manageiq,kbrock/manageiq,israel-hdez/manageiq,jvlcek/manageiq,NaNi-Z/manageiq,borod108/manageiq,aufi/manageiq,ManageIQ/manageiq,tinaafitz/manageiq,tinaafitz/manageiq,skateman/manageiq,romanblanco/manageiq,syncrou/manageiq,ilackarms/manageiq,billfitzgerald0120/manageiq,borod108/manageiq,aufi/manageiq,jrafanie/manageiq,durandom/manageiq,branic/manageiq,mzazrivec/manageiq,gmcculloug/manageiq,agrare/manageiq,ManageIQ/manageiq,ilackarms/manageiq,chessbyte/manageiq,syncrou/manageiq,pkomanek/manageiq,mkanoor/manageiq,kbrock/manageiq,jvlcek/manageiq