黄龄翻唱的歌曲大全:Installing Jekyll and Ruby on Windows

来源:百度文库 编辑:偶看新闻 时间:2024/10/02 17:08:48

I used Jekyll for writing some documentation. Installing it on a Mac was easy of course. Now back on a Windows box the installation was a tiny bit more complicated.

But not that hard actually.

First thing you go to http://rubyinstaller.org/downloads/ and download the latest version of Ruby execute it and add its /bin directory to your Path environment variable.

Next and this is the tricky bit – without which you will receive weird errors about fast-stemmer requiring build tools when trying to install Jekyll – you need to download the latest version of DevKit also to be found on http://rubyinstaller.org/downloads/.

Download it and extract it somewhere and then add its /bin directory to your Path variable as well.

Now open your command line and do the following.

cd PATH_TO_YOUR_DEVKIT_DIRruby dk.rb initruby dk.rb install
view raw gistfile1.sh This Gist brought to you by GitHub.

Now you can run the final step to install Jekyll.

gem install jekyll
view raw gistfile1.sh This Gist brought to you by GitHub.

And you’re done.

Jekyll · Ruby · Windows