Skip to content

Instantly share code, notes, and snippets.

@brentsowers1
Created March 6, 2014 02:17
Show Gist options
  • Save brentsowers1/9380979 to your computer and use it in GitHub Desktop.
Save brentsowers1/9380979 to your computer and use it in GitHub Desktop.
config/warbler.rb for including database migrations in WAR
# Disable Rake-environment-task framework detection by uncommenting/setting to false
# Warbler.framework_detection = false
# Warbler web application assembly configuration file
Warbler::Config.new do |config|
# Application directories to be included in the webapp.
# Add script and db/migrate here
config.dirs = %w(app config lib log vendor tmp script db/migrate)
# Uncomment this if you're running in 1.9 mode
#config.webxml.jruby.compat.version = "1.9"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment