Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Windows #67

Closed
afomi opened this issue Dec 3, 2015 · 7 comments
Closed

Can't install on Windows #67

afomi opened this issue Dec 3, 2015 · 7 comments

Comments

@afomi
Copy link
Member

afomi commented Dec 3, 2015

spent an hour trying to get an ENV up on Windows 9, without luck

@jszwedko
Copy link
Member

jszwedko commented Dec 3, 2015

I assume you mean Windows 10 😄 -- unless I'm missing something. We could solve this by keeping an up-to-date Vagrant image, I feel like I'd rather that than maintaining instructions for installing Ruby and Postgres on Windows.

@afomi
Copy link
Member Author

afomi commented Dec 3, 2015

haha - yep. 10 - and ya, Vagrant is a good idea. I'll also keep an eye out for good Windows instructions on getting Ruby and Postgres going (if there are any)

@howdoicomputer
Copy link
Contributor

I am working off of a Windows 10 machine and recently submitted a PR that added the tzinfo gem for Windows support.

I'm writing code and everything is working properly.

@jszwedko
Copy link
Member

jszwedko commented Feb 4, 2016

@howdoicomputer good to hear :) I think some of the confusion for this issue was around running Postgres and Ruby on Windows, but I may be misremembering. We could add some links to other documents for how to do that though.

@howdoicomputer
Copy link
Contributor

Windows development is always tricky for projects that require C extensions. I'll write a guide somewhere but potential Windows developers would need to install Ruby 2.X, install Ruby DevKit, install Postgres, and then follow the documentation for DevKit so that gems like json can have their C extensions compiled correctly.

I also found that there is a bug in the bcrypt gem that required some custom installation steps as well. Well, less of a bug and more of lack of support for Ruby 2.X on Windows.

I mean, it's a bit tricky but if the steps are laid out it takes less than ten minutes to get everything running to the point that bundle exec rake test returns 0 errors.

@howdoicomputer
Copy link
Contributor

Alright, I went ahead and wrote a lengthy guide in the wiki for setting this up on Windows.

https://github.com/sfbrigade/adopt-a-drain/wiki/Windows-Development-Environment

Is this issue ready for closing?

@jszwedko
Copy link
Member

jszwedko commented Feb 5, 2016

Indeed it is, these instructions are great!

@jszwedko jszwedko closed this as completed Feb 5, 2016
kmcurry added a commit to kmcurry/adopt-a-drain that referenced this issue Feb 5, 2019
Update second confirmation email and other SF reference to NFK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants