Skip to content

Instantly share code, notes, and snippets.

@beneggett
Created October 24, 2012 07:13
Show Gist options
  • Save beneggett/3944508 to your computer and use it in GitHub Desktop.
Save beneggett/3944508 to your computer and use it in GitHub Desktop.
#...
namespace :deploy do
desc "reload the database with seed data"
task :seed do
run "cd #{current_path}; bundle exec rake db:seed RAILS_ENV=#{rails_env}"
end
end
#...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment