Set Up Rails Environment For Static Page


Install Ruby

$ ruby --version

Install Homebrew

$ brew --version
$ /usr/bin/ruby -e "$(curl -fsSL"

Install RVM (Ruby version Manager)

$ rvm --version
$ \curl -sSL | bash$ source ~/.bash_profile $ rvm install ruby 2.6.4$ rvm use 2.6.4

Install Yarn

$ yarn --version
$ brew install yarn

Install Rails

$ sudo gem install rails
$ cd Desktop$ rails new sample_app$ cd sample_app
$ rails generate controller Home index
Rails.application.routes.draw do# For details on the DSL available within this file, see  root 'home#index'end
$ rails server



body {

text-align: center;




I write about holistic growth

Love podcasts or audiobooks? Learn on the go with our new app.

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


I write about holistic growth

More from Medium

Ghostd: Discovering Backend Development with a Dating App for Dead People

Creating a React app with Rails API backend


More, and More Colorful, Web Colors