Getting Rails up and Running on Windows Subsystem for Linux

  1. Add the Yarn Repo for apt-get to find the latest Yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install make gcc zlib1g-dev ruby ruby-dev sqlite3 libsqlite3-dev yarn
sudo gem install rails
rails new myprojectname
cd ./myprojectnamerails server

--

--

Married, software-developing, backpacking, photographing, cooking, father of three. https://www.codecutting.com

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
Jake Moening

Jake Moening

61 Followers

Married, software-developing, backpacking, photographing, cooking, father of three. https://www.codecutting.com