Sha256: 57a5f2af5a5c1a4dcd00cc3b42ab32d36fddd1391ac544260d46b8eab0992a01
Contents?: true
Size: 491 Bytes
Versions: 19
Compression:
Stored size: 491 Bytes
Contents
file "#{project_name}.local.vhost.conf" do %{ <VirtualHost *:80> ServerName #{project_name}.local DocumentRoot "#{root}/public" RackEnv development <directory "#{root}/public"> Order allow,deny Allow from all </directory> </VirtualHost> }.strip end default_to = "/etc/apache2/passenger_pane_vhosts" answer = ask "Where should we write out vhost config: [#{default_to} is default]" filename = answer.empty? ? default_to : answer sudo "mv ./#{project_name}.local.vhost.conf #{filename}"
Version data entries
19 entries across 19 versions & 2 rubygems