9/17/2023 0 Comments Rubyinstaller archive![]() ![]() Which asks rake for all tasks of the current project. Now switch into this directory and let's see what's next by entering > rake -T This clones the RubyInstaller repository. > git clone git:///oneclick/rubyinstaller.git ![]() Make sure to select the option Run Git and included Unix tools from the Windows Command Prompt as the Unix tools can become handy in the following steps. We therefore first need to install Git for Windows. We need to check out the head version of the RubyInstaller from Github. Make sure to check Add ruby executables to your PATH so we can run the ruby command afterwards in the Windows Command Prompt. In my case this means I started with installing Ruby 2.0.0 with the precompiled RubyInstaller from the official website. This means we need to have a running Ruby on the Windows machine we are using. This installer script cares about nearly everything needed to compile Ruby on windows including downloading a C compiler and all dependencies, but it is written in Ruby. We are going to use the RubyInstaller scripts to compile Ruby on Windows. This article is written more anecdotal for myself to keept track of the steps performed and how I get there than it is intended as a cook book being as short as possible. Concern carefully that it is much easier just to use Ruby 2.0.0 by running the RubyInstaller made available as reasy to use installer on the official website. At the time of writing it is not that easy to compile Ruby 2.1.0 and especially nokogiri on Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |