Skip rails::configure for non-rails applications

This change prevents the rails::configure recipe from
attempting to restart non-rails applications deployed
on the same instance.

The same solution is used in the other app server configure
recipes- php::configure, opsworks_nodejs::configure and
opsworks_java::context