Created
October 29, 2013 21:15
-
-
Save adambray/7222763 to your computer and use it in GitHub Desktop.
This file contains 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
task :prefix_initializer do | |
prefix_config_file =<<-EOF | |
Reservations::Application.configure do | |
config.action_controller.relative_url_root = '/#{application_prefix}' | |
end | |
EOF | |
run "mkdir -p #{shared_path}/config" | |
put prefix_config_file, "#{shared_path}/config/prefix.rb" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment