Let s go a bit further with our wsl ruby install and see what it takes to get ruby on rails set up.
Setup ruby on rails windows 7.
If yes to both continue.
Ruby on rails is open source software so not only is it free to use you can also help make it better.
How to setup ruby on rails in windows 7.
Gem install rails no document you also need bundler because without it you cannot use a gemfile you need rails because.
Use the following command for installing rails dependencies using yum.
This ubuntu install doesn t yet have the ability to compile gems and rails will need that.
Optimizing for programmer happiness with convention over configuration is how we roll.
However given that windows 10 can run linux with wsl windows subsystem for linux and now windows runs linux at near native speeds with an actual shipping linux kernel using wsl2 ruby on rails folks using windows should do their work in wsl2.
We ll walk you through how to set up ruby on rails on your windows machine in less than 5 minutes.
Tp sudo yum install y git core zlib zlib devel gcc c patch readline readline devel libyaml devel libffi devel openssl devel make bzip2 autoconf automake libtool bison curl sqlite devel.
If you re using a ruby version pre 2 7 0 you should open cmd and type.
Open start command prompt with ruby from the start menu under.
First of all we have to install git core and some ruby dependences that help to install ruby on rails.
The reason we re going to be using bash on ubuntu on windows because it allows you to run linux on your windows machine.
Most ruby on rails tutorials and dependencies work best on linux so this allows you to get the best of both worlds.
Ruby on rails has been popularizing both.
It s easier than you think to become one of them.
More than 5 000 people already have contributed code to rails.
Download rubygems and extract it.
We will be setting up a ruby on rails development environment on windows 10.