<commit_before>Capistrano::Configuration.instance(:must_exist).load do 
  namespace :dwell do
    namespace :passenger do
  
      desc "Enable Passenger"
      task :enable_passenger do
        input = "\n"
        dwell1.sudo_with_input "passenger-install-apache2-module", /enter/i, "\n"
        cfg =<<-EOF
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /usr/bin/ruby1.8
        EOF
        put cfg, "/tmp/passenger"
        sudo "mv /tmp/passenger /etc/apache2/conf.d/passenger"
        dwell1.record_install "apache2_mod_passenger"
      end
  
      desc "Setup vhost"
      task :setup_vhost do
        cfg =<<-EOF
ServerName #{domain}
# ServerAlias #{application}.agilebox.com
DocumentRoot #{deploy_to}/public
        EOF
        put cfg, "/tmp/vhost"
        sudo "mv /tmp/vhost /etc/apache2/sites-available/#{application}"
        sudo "a2dissite default"
        sudo "a2ensite #{application}"
      end
  
      desc "Install Passenger"
      task :install do
        enable_passenger
        setup_vhost
      end
  
    end
  end
end<commit_msg>latest passenger and don't setup vhost as part of install<commit_after>Capistrano::Configuration.instance(:must_exist).load do 
  namespace :dwell do
    namespace :passenger do
  
      desc "Enable Passenger"
      task :enable_passenger do
        input = "\n"
        dwell1.sudo_with_input "passenger-install-apache2-module", /enter/i, "\n"
        cfg =<<-EOF
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.4
PassengerRuby /usr/bin/ruby1.8
        EOF
        put cfg, "/tmp/passenger"
        sudo "mv /tmp/passenger /etc/apache2/conf.d/passenger"
        dwell1.record_install "apache2_mod_passenger"
      end
  
      desc "Setup vhost"
      task :setup_vhost do
        cfg =<<-EOF
ServerName #{domain}
# ServerAlias #{application}.agilebox.com
DocumentRoot #{deploy_to}/public
        EOF
        put cfg, "/tmp/vhost"
        sudo "mv /tmp/vhost /etc/apache2/sites-available/#{application}"
        sudo "a2dissite default"
        sudo "a2ensite #{application}"
      end
  
      desc "Install Passenger"
      task :install do
        enable_passenger
#        setup_vhost
      end
  
    end
  end
end
{'fraction_non_alphanumeric': 0.10848861283643893, 'fraction_numerical': 0.017391304347826087, 'mean_word_length': 2.4514285714285715, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6790437', 'n_tokens_mistral': 836, 'n_tokens_neox': 792, 'n_words': 170}