Open Powershell and run: wsl -install -d Ubuntu You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11. We'll use this to install Ruby and run our Rails apps. Windows allows you to run various Linux operating systems inside of Windows similar to a virtual machine, but natively implemented. Installing the Windows Subsystem for Linux Ruby on Rails will always be deployed to a Linux server, so it's best for us to use the same for development. This allows you to install a Linux distribution natively on Windows without a virtual machine. We're going to use the Windows Subsystem for Linux (WSL) to accomplish this. Well from above steps finally i was successfully install ruby 2.0.0-p481, rails 4.1.1 and rmagick 2.13.In this guide, we will be installing Ruby on Rails on Windows 10. Gem install rmagick -verbose -with-opt-dir=C:\imagemagick Or if step 5 to 7 doesn't work, please goto devkit dir, execute mysys.bat, and from mysys console Gem install rmagick -verbose -with-opt-lib=lib -with-opt-include=include Open your cmd and type ruby -v and rails -v to make sure ruby on rails installed properly.ĭownload ImageMagick-6.7.9-9-Q16-windows-dll.exe install on C:/imagemagickįrom cmd configure devkit stuff, with cd devkit, devkitvars.bat, ruby dk.rb install -fĪnd finally you can install rmagick gem using command prompt: In here you've got ruby 2.0.0 and rails 4.1.1 installed in your system. Installing rails and its dependencies always painfull in windows, thankfully to railsinstaller or rubyinstaller but here i want show how install ruby, rails and rmagick based on my experience:įirst install rails FTW, its like railsinstaller but at least more latest ruby and rails than railsinstaller. Installation Ruby 2.0.0, Rails 4.1.1, Rmagick 2.13.2 on Windows 7
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |