![]() Congratulations you have successfully installed Rails and created a new Rails application.īy the way if you run into "JavaScript Runtime environment missing" error then just install Node. In RubyMine, you can configure the Ruby interpreter installed to WSL. If you are planning to develop Rails applications on Windows 10, the Ruby interpreter installed to Windows Subsystem for Linux (WSL) might be a better choice. Type "gem install rails" in command promptĭone. On Windows, you can use RubyInstaller to set up the Ruby environment quickly. Now open command prompt and change the directory to install path cd\devkitġ. Double click on devkit and extract to c:\devkitĢ. Now double click on Ruby Installer and follow the instructions.ġ. Select "Add Ruby executable's to your PATH": This option will let you execute ruby files from command prompt.Ģ. ![]() Things to remember while installing Ruby via Ruby Installer:ġ. RubyInstaller combines the possibilities of native Windows programs with the rich UNIX toolset of MSYS2 and the large repository of MINGW libraries. Head over to Rails Installer and download "Ruby Installer" for appropriate Ruby version and also download Devkit. So you should upgrade to RubyInstaller-2.4 which makes use of MSYS2. It is built on MSYS1, which is no longer maintained now. (If you are using Ubuntu then just use this Guide by Ryan Bigg) The RubyInstaller Development Kit is a toolkit that makes it easy to build and use native C/C++ extensions such as RDiscount and Nokogiri for Ruby on Windows. So, I'm writing this post to save myself some time in the long run. Some of my friends keep asking me the same question "How to Install Ruby on Rails on Windows".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |