From the course: Installing and Running Ruby on Rails 6

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Install RubyGems for MySQL

Install RubyGems for MySQL - Ruby on Rails Tutorial

From the course: Installing and Running Ruby on Rails 6

Start my 1-month free trial

Install RubyGems for MySQL

- [Instructor] Now that we have Ruby and Ruby on Rails installed and we have our MySQL database software installed, we need a little bit of code that allows them to talk to each other. And we're going to do that using a RubyGem for MySQL. It's a MySQL adapter for Ruby. Now, this step shouldn't be strictly necessary. We should be able to install the MySQL adapter along with our project later on. But unfortunately this process of getting this adapter working is one of the sticking points. And if you're going to run into problems in this installation process, this is probably where it's going to be. So instead of waiting and doing it later on let's try and deal with problem head-on and make sure that it works so that we don't have problems later. Instead of just installing it with our project we're going to install it globally as a RubyGem for all of our projects to use. If it works there then we can also install it in those…

Contents