Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@6temes
Last active February 11, 2024 16:08
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save 6temes/3c52f8a472f61d9676e7218a98812286 to your computer and use it in GitHub Desktop.
Save 6temes/3c52f8a472f61d9676e7218a98812286 to your computer and use it in GitHub Desktop.
Downgrade MySQL version with brew
# Kill rails server and guard
bin/spring stop
brew services stop mysql
brew uninstall mysql
brew install mysql@5.5
brew link mysql@5.5 --force
brew services start mysql@5.5
rbenv uninstall 2.3.3
rbenv install 2.3.3
gem install bundle
gem install rubocop-rspec rubocop scss_lint rails_best_practices # (optional)
bundle install
be rails db:migrate:reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment