Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Only the professor can fix it
- fixit() {
- clear;
- echo -e '\x1B[30;45m'"\n\033[1m Bundle installing... \033[0m\n";
- bundle install;
- echo -e '\x1B[30;45m'"\n\033[1m Migrating database... \033[0m\n";
- bundle exec rake db:migrate;
- echo -e '\x1B[30;45m'"\n\033[1m Clearing Rails cache... \033[0m\n";
- rails runner "Rails.cache.clear";
- echo -e '\x1B[30;45m'"\n\033[1m Restarting Pow... \033[0m\n";
- powder restart;
- echo -e '\x1B[30;45m'"\n\033[1m Fixed it! \033[0m";
- }
Add Comment
Please, Sign In to add comment