Creating a Blog using Ruby and Rails- Part 1

Create a Demo Project
Click on Open to start project
click on ssh terminal to start terminal and development command.

Environment Setup and Configuration.

  1. Check RVM version rvm — version and get stable with command rvm get stable
rvm --version
ruby --version
nvm ls-remote
Latest version of ruby.
nmv install 14.15.5

- curl -sS | sudo apt-key add -
echo "deb stable main" | sudo tee /etc/apt/sources.list.d/yarn.listsudo apt update && sudo apt install yarn
gem install rails

Creating a Blog skeleton in rails and configure to be able to view the starter page.

Let create a blog with the following command.

  1. Rails new command to create a blog… you can name your blog anything. I am going to call my blog
rails new blog
cd blog
Cd into blog
config.hosts << “”
rails s — binding=
server show starting



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Khemlall Mangal

Khemlall Mangal


I am a passionate coder, QA Engineer, and someone who enjoys the outdoors.