Check for config options only inside the before_configuration hook
Check for config options only inside the before_configuration hook

This fixes calling "bundle console" from Rails, without this change we
get the following error:

     undefined method `action_view' for
     #<Rails::Railtie::Configuration:0x007fdb842b4cd0> (NoMethodError)`

JamesHarker/jquery-rails,jasl/jquery-middleman,maclover7/jquery-rails,ehowe/jsc3d-rails,nicolasleger/jquery-rails,rails/jquery-rails,tricknotes/jquery-rails