We will be setting up a ruby on rails development environment on windows 10.
Setup ruby on rails windows 7.
More than 5 000 people already have contributed code to rails.
Download the windows rubyinstaller and install.
How to setup ruby on rails in windows 7.
This ubuntu install doesn t yet have the ability to compile gems and rails will need that.
Gem install rails no document you also need bundler because without it you cannot use a gemfile you need rails because.
First of all we have to install git core and some ruby dependences that help to install ruby on rails.
In particular rails wants to use the nokogiri gem for parsing html and that requires compiling its native extensions.
Ruby on rails is open source software so not only is it free to use you can also help make it better.
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.
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.
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.
Open start command prompt with ruby from the start menu under.
The reason we re going to be using bash on ubuntu on windows because it allows you to run linux on your windows machine.
Download rubygems and extract it.
Did you install the app from step 1 and extract the folder from step 2.
Most ruby on rails tutorials and dependencies work best on linux so this allows you to get the best of both worlds.
It s easier than you think to become one of them.
Ruby on rails has been popularizing both.
If yes to both continue.