Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created October 8, 2009 22:13
Show Gist options
  • Save knowuh/205464 to your computer and use it in GitHub Desktop.
Save knowuh/205464 to your computer and use it in GitHub Desktop.
Accept defaults? (y/n) y
To complete setup of the RITES Investigations Rails application setup:
MRI Ruby:
rake gems:install
RAILS_ENV=production rake db:migrate:reset
RAILS_ENV=production rake rigse:setup:new_rites_app
JRuby:
rake gems:install
RAILS_ENV=production rake db:migrate:reset
RAILS_ENV=production rake rigse:setup:new_rites_app
These scripts will take about 5-30 minutes to run and are much faster if you are both running
Rails in production mode and using JRuby. If you are using separate databases for development and
production and want to run these tasks to populate a development database I recommend temporarily
identifying the development database as production for the purpose of generating these data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment