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 - Ruby on Rails Tutorial
From the course: Installing and Running Ruby on Rails 6
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
-
-
-
Terminal and Unix setup on macOS3m 31s
-
Install Homebrew on macOS3m 16s
-
Install Ruby on macOS for a Rails project7m 27s
-
Install Ruby on Rails on macOS2m 44s
-
Install MySQL on macOS for a project database3m 47s
-
Install RubyGems for MySQL3m 58s
-
Install JavaScript tools for Ruby on Rails1m 18s
-
Using the web server on macOS1m 33s
-
Choosing a text editor on macOS for Rails development3m 35s
-
-
-
-