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