Use the following command for installing rails dependencies using yum.
Setup ruby on rails windows 7.
Open start command prompt with ruby from the start menu under.
Optimizing for programmer happiness with convention over configuration is how we roll.
This ubuntu install doesn t yet have the ability to compile gems and rails will need that.
Ruby on rails is open source software so not only is it free to use you can also help make it better.
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.
We ll walk you through how to set up ruby on rails on your windows machine in less than 5 minutes.
The reason we re going to be using bash on ubuntu on windows because it allows you to run linux on your windows machine.
If yes to both continue.
Download rubygems and extract it.
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.
Did you install the app from step 1 and extract the folder from step 2.
Ruby on rails has been popularizing both.
Most ruby on rails tutorials and dependencies work best on linux so this allows you to get the best of both worlds.
First of all we have to install git core and some ruby dependences that help to install ruby on rails.
It s easier than you think to become one of them.
More than 5 000 people already have contributed code to rails.
If you re using a ruby version pre 2 7 0 you should open cmd and type.
Let s go a bit further with our wsl ruby install and see what it takes to get ruby on rails set up.
In particular rails wants to use the nokogiri gem for parsing html and that requires compiling its native extensions.
Download the windows rubyinstaller and install.