Skip to content

Instantly share code, notes, and snippets.

@rscarvalho
Created April 12, 2012 12:30
Show Gist options
  • Select an option

  • Save rscarvalho/2366920 to your computer and use it in GitHub Desktop.

Select an option

Save rscarvalho/2366920 to your computer and use it in GitHub Desktop.
namespace :deploy do
desc "Runs db:seed"
task :seed_data do
run "cd #{current_path} && #{try_sudo} #{rake} db:seed"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment