Fixing error: compass-rails.rb: undefined method 'config' for nil:NilClass

Simply checking the application object to double check if rails is loaded. for those that disable loading rails when compiling assets.