From the course: Installing and Running Ruby on Rails 6
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Install MySQL Ruby gems on Windows - Ruby on Rails Tutorial
From the course: Installing and Running Ruby on Rails 6
Install MySQL Ruby gems on Windows
- [Instructor] Now that we have Ruby installed, and we have MySQL installed, we need to install a RubyGem that will allow Ruby to talk to MySQL. Because we already have RubyGems installed, installing the MySQL to Gem should be just as easy as typing gem, install, MySQL, two. Make sure you add the two after it. This is the version two of the gem and we want to make sure that's the one we're using. Once we do that, RubyGems will go out, it will get the code for the MySQL2 gem, it'll bring it back, and it will compile it for our computer. For our specific operating system. That's what that building native extensions means. Process can take a little while. Now unfortunately, this is also often a place where things go wrong. But if you do run in to problems, I just want to mention that you can go to rubygems.org, you can search for MySQL2, that'll bring you to the MySQL2 Gems main page, and from there there's links to the home…
Contents
-
-
-
-
Running Ruby on Rails on Windows1m 49s
-
(Locked)
Enable Windows subsystem for Linux2m 13s
-
(Locked)
Install Linux on Windows4m 11s
-
(Locked)
Install Ruby on Windows for a Rails project9m 15s
-
(Locked)
Install Ruby on Rails on Windows2m 13s
-
(Locked)
Install MySQL on Windows for a project database6m 23s
-
(Locked)
Install MySQL Ruby gems on Windows1m 21s
-
(Locked)
Install JavaScript tools for Ruby on Rails5m 27s
-
(Locked)
Using the web server on Windows1m 28s
-
(Locked)
Choosing a text editor on Windows for Rails development3m 31s
-
-
-