Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save lsemel/612713 to your computer and use it in GitHub Desktop.
Save lsemel/612713 to your computer and use it in GitHub Desktop.
# in compass.rb
puts '>> Environment is ' + environment.to_s
if (environment.to_s == 'production')
puts '>> Disabling compass in production'
never_update = true
cache_location = '/tmp'
else
puts '>> Compass is enabled'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment