Posts

Showing posts with the label Gems

Installing MySQL with Ruby on Rails

Installing MySQL with Ruby on Rails Our web application uses a database to store information. In this blog, I'm going to show you how to get the MySQL database installed with Ruby on Rails. If you already have it installed either because you've already been developing with it, or because you've taken another training course which included it, then you won't need to install it again. Just skim over this page to make sure that you know everything I cover. If you prefer to use a different database such as SQLite or PostgreS, you can, and without making many changes to what I'm going to show you. But we're going to be sticking with MySQL for this blog. One other note, some Windows users already use Microsoft Access as a database and wonder if they can use that with Rails. Access isn't really robust enough for web server usage. It's not supported on Rails, and there's no official database adapter to make it work. There are some unofficial adapters an...

Installing Ruby On Rails - Step By Step Guide

Greetings forks!!! Welcome to Installing Ruby on Rails 5 on Windows. In this blog, we will learn to install Ruby on Rails, the popular open source web development framework. This blog is designed to get everything set up so that you can either start building projects with Ruby on Rails or continue learning with other Ruby on Rails pages, such as Ruby on Rails Essentials. In this blog, we will learn to use the command line to install Ruby on Rails, MySQL and all of the supporting software that's going to be required and to consider the web server and text editor options that we can choose. Let's get started installing Ruby on Rails. Installing Ruby Ruby on Rails requires that we use Ruby version 2.2.2, or later. 2.2.2 is the first version which includes all of the features that Ruby on Rails 5 is going to need; however, development has continued and a few more improvements to Ruby have been released. As I'm writing this, the newest version is 2.4.0. You should...