Skip to content

Instantly share code, notes, and snippets.

View misternu's full-sized avatar

Manu Meixell misternu

View GitHub Profile
@misternu
misternu / Rakefile
Last active April 27, 2016 18:39
Rake yolo task and yolo alias
# Hey Chi-Town, I made this rake task, and it has saved some of us a lot of time.
# Some people asked me to post it, so here it is:
desc 'You only live once'
task 'yolo' => ['db:drop', 'db:create', 'db:migrate', 'db:seed'] do
exec "bundle exec shotgun config.ru"
end
# NOTE: If db:create or db:drop use "exec" instead of "system", this will not work.
# If you decide to fix this, google why this happens first.