Posts

Showing posts from February, 2017

Web server & IDE for ruby on rails

Ruby on Rails - Web server & IDE Greetings of the day!!! Web Servers Let's talk about what web server that we're going to use for this blog. Of course, you need a web server to serve requests to users. Ruby on Rails doesn't do that on its own, so you need something that's going to take a request from a user, when they type in a URL, it's going to send it to our Rails application, your Rails application will then return a result to the web server, which then gets sent back to the user. A web server is an essential part of this process, and we have a few different options. If you're using a production web server, then you're probably using either Apache or NGINX . Those are two of the most popular web servers for the front end, and they're very robust web servers with a lot of features built in. They can handle a lot of requests. It's also very common for people to use some lightweight web servers, which pair nicely with these other heavyw...

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...