I’m planning to contribute to an OpenSource Rails App ( https://dubscale.com/ ) and also working towards an MVP idea (Draft). So I thought why not try to setup Rails on my computer and learn the basics. This is how I set it up on my Win 11 PC using WSL for the first time ever. And also how that made me feel.
Alright let’s get this going Choo- Choo
To start a new Rails project I used Ubuntu ( on WSL ) and followed below steps.
To start a new Rails project, I followed these steps on Ubuntu running in Windows Subsystem for Linux (WSL).
As recommended by Rahul (owner of Dubscale), I used rbenv to manage Ruby versions.
Clone rbenv into ~/.rbenv
:
git clone <https://github.com/rbenv/rbenv.git> ~/.rbenv
Set up the shell to load rbenv:
~/.rbenv/bin/rbenv init
rbenv install 3.3.0
rbenv global 3.3.0
gem install bundler
gem install rails
I'm working on both a new app and an open-source project, so I created a new app called horseapp
with:
rails new horseapp
(Yes, naming isn’t my strong suit.)