lib/deprec/recipes/app/passenger.rb in deprec-2.0.2 vs lib/deprec/recipes/app/passenger.rb in deprec-2.0.3

- old
+ new

@@ -132,14 +132,14 @@ desc "Push Passenger configs (project level) to server" task :config_project, :roles => :app do deprec2.push_configs(:passenger, PROJECT_CONFIG_FILES[:passenger]) symlink_apache_vhost activate_project - set_ownership_of_environment_rb end - task :set_ownership_of_environment_rb, :roles => :app do - sudo "chown #{app_user} #{current_path}/config/environment.rb" + # Passenger runs Rails as the owner of this file. + task :set_owner_of_environment_rb, :roles => :app do + sudo "chown #{app_user} #{current_path}/config/environment.rb" end task :symlink_apache_vhost, :roles => :app do sudo "ln -sf #{deploy_to}/passenger/apache_vhost #{apache_vhost_dir}/#{application}" end \ No newline at end of file