[RUBY] Add binding.pry (rails)

In the terminal, specify (the directory you want to add) with "cd ~". Open the gemfile (directory you want to add) in VSCode, change the version after "mysql2" of "gem'mysql2', '0.?.?'" To "'0.5.3'", Set it to "gem'mysql2', '0.5.3'".

Write "gem'pry-rails'" at the bottom of the gemfile and return to the terminal. In the terminal, bundle update will install the gem.

If the version of mysql2 has already been changed, it will be installed by doing "bundle install" after writing pry-rails.

I would appreciate it if you could point out any mistakes.

Recommended Posts

Add binding.pry (rails)
[Ruby on Rails] Debug (binding.pry)
[Rails] Add / Remove Forms (cocoon)
[Rails] Add column to devise
Add a search function in Rails.
Add & save from rails database creation
[Ruby on Rails] Add / Remove Columns
[Rails] How to add new pages
[Rails] Add strong parameters to devise
Add Not null constraint after Rails
[Rails g.error]
Rails basics
Rails Review 1
Rails API
Rails migration
Migration file to add comment to Rails table
[Rails] first_or_initialize
rails tutorial
About Rails 6
Rails foundation
Rails memorandum
rails tutorial
rails tutorial
rails tutorial
Java (add2)
Java (add)
[Rails] [Memo] When to add = to <%%> and when not
Check the processing contents with [rails] binding.pry
[Rails] devise
rails tutorial
rails tutorial
Rails Tips
rails method
rails tutorial
[Rails] ActiveRecord
[Rails] form_with
Rails Review 2
[Rails] Introduction of pry-rails ~ How to debug binding.pry
[Rails] Add page nation to table [For beginners]
How to add / remove Ruby on Rails columns
Add a tag function to Rails. Use acts-as-taggable-on
How to conditionally add html.erb class in Rails