Hello, I’m trying to build atom/docs on Windows, but it’s proving a little difficult to get all dependencies in place. I try running “bundle install” and whenever it complains about some dependency missing, I go and figure out how to get that dependency for Windows:

DevKit

curl

unzip

…

Before proceeding further, I thought that maybe I’m just approaching it in the wrong way. Has anyone tried to build atom/docs on Windows before? Is there a better way to get set up to do this? I know that all of these dependencies are common and easily available on Linux and Mac OS X, but for various reasons, I’m using Windows right now, and I’d still like to contribute to Atom .

I hadn’t cloned it until now and I see that one’s using Rake to build. I’ve had lots of trouble, too, with setting up Ruby environments on Windows. So much so that I’ve often used Ubuntu when I wanted to do some Rails work. Making that work for an easy setup, though, is something I really want to do, anyway. I’ll spend some cycles tomorrow seeing where I can get on that and how much I can script.

One possibility I was thinking of was simply using PowerShell to create “curl” and “unzip” commands that use the existing commands in Windows to do these things. For example, “curl” would just be a simple PowerShell script that runs “Invoke-WebRequest”.

It looks like I at least got “bundle install” to work Here are the changes that were necessary: https://github.com/mlalkaka/docs/commit/00b70cb5fd84a64efb89c52f5397283e348f6c39. This still requires the user to install Ruby and DevKit manually, but at least it would take care of the more obscure dependencies of curl and unzip. Now that I’ve figured out what was wrong, however, I don’t think this change is actually appropriate in atom/docs. It probably belongs in the kindlegen project for its Windows build.

The next problem seems to be that building the docs doesn’t work for any format other than HTML.