Skip to content

Instantly share code, notes, and snippets.

@collin
Created May 30, 2009 16:27
Show Gist options
  • Select an option

  • Save collin/120550 to your computer and use it in GitHub Desktop.

Select an option

Save collin/120550 to your computer and use it in GitHub Desktop.
# staging specific code
git diff staging config/initializers/current_host.rb | git apply -R
# production specific code
git diff production config/initializers/current_host.rb | git apply -R
# stuff like storing base urls
# BaseUrl = "staging.example.com" vs BaseUrl = "example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment