Created
September 4, 2009 16:15
-
-
Save mathie/180969 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
# FIXME: For some deeply boring reason, in order to deploy to the staging | |
# server, you currently have to change the application name to foobarapp_staging, | |
# rather than foobarapp. I'm working on fixing it, but it turns out to be more | |
# complex than it ought to have been. | |
set :application, "foobarapp_staging" | |
after 'staging' do | |
raise "Please change the top of config/deploy.rb so that it reads 'set :application, \"foobarapp_staging\"' and try again." unless application == 'foobarapp_staging' | |
end | |
after 'production' do | |
raise "Please change the top of config/deploy.rb so that it reads 'set :application, \"foobarapp\"' and try again." unless application == 'foobarapp' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment