Created
          July 2, 2012 14:58 
        
      - 
      
 - 
        
Save gbelote/3033654 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | diff --git a/config.ru b/config.ru | |
| index 4e0416f..ce264ca 100644 | |
| --- a/config.ru | |
| +++ b/config.ru | |
| @@ -1,4 +1,5 @@ | |
| # This file is used by Rack-based servers to start the application. | |
| require ::File.expand_path('../config/environment', __FILE__) | |
| +use Rack::Deflater if ENV['enable_gzip'] == "true" | |
| run Crowdly::Application | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment