codeforamerica / adopt-a-hydrant

A web application that allows citizens to "adopt" civic infrastructure, such as fire hydrants that need to be shoveled out after it snows.
http://adopt-a-hydrant.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
708 stars 234 forks source link

Bundle Install Not Working on Windows #59

Closed mikeymadx closed 9 years ago

mikeymadx commented 9 years ago

When following the directions for installing the bundles and code, lots of problems arose concerning bundle installation. Had to research ways of installing the bundles separately. Still cannot get all the bundles installed specifically the puma bundle.

It was a huge problem for me on Windows OS but others have reported long processes to get all the bundles on other systems.

mikeymadx commented 9 years ago

Figured out the solution to the puma bundle. Followed directions from https://github.com/hicknhack-software/rails-disco/wiki/Installing-puma-on-windows

Install DevKit, e.g. in c:\devkit unpack the OpenSSL Package, e.g. in c:\openssl (use 7Zip or PeaZip) You need to copy the ddls from the bin directory (libeay32.dll and ssleay32.dll) to your ruby/bin directory. open a windows console initialize the DevKit build environment c:\devkit\devkitvars.bat -except here. I used this: ruby dk.rb init Now it’s possible to install the puma gem with the OpenSSL packages gem install puma -- --with-opt-dir=c:\openssl

If the downloading of the bundles could be more specific it would be easier for others on Windows to use.