OpenTwinCities / adopt-a-tree

Beautify your street by watering a tree.
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Difficulty installing on Mac OS with openSSL installed via homebrew #31

Open mr-mcox opened 7 years ago

mr-mcox commented 7 years ago

As I was following the ReadMe instructions, when I attempted to bundle install, I received an error that puma -v 2.9.2 needed to pass before continuing (I'll reproduce the exact error later). This seems to be an issue that is fixed in a later version of puma but needs the fix applied manually in order to install this earlier version. (see https://github.com/puma/puma/issues/718). The fix is to run gem install puma -v 2.9.2 -- --with-opt-dir=/usr/local/opt/openssl

wbushey commented 7 years ago

Thanks for logging this and researching it @mr-mcox. It looks like the Puma issue isn't tied to a particular release of Puma, so upgrading will probably not help (though it's worth a try, especially since we are only a pretty old version of Puma; upgrading to the latest version. or to 2.16.0 might be worth a shot).

In terms of fixes, we could either add a note in the README for folks installing on El Capitan, or we could see if we can change what the Gemfile installs based on the OS version.

jhsu802701 commented 7 years ago

I submitted a pull request featuring my build_fast.sh script at https://github.com/OpenTwinCities/adopt-a-tree/pull/44 . I have put instructions on how to use it in tandem with my Docker image in the comments at the beginning of this script. The Docker image and the build_fast.sh script in tandem will allow you to get everything up and running on your local machine in minutes, not hours or days. Because of this, you can also reset your development environment to its original conditions and set everything up again in a matter of minutes. Anyone who joins the project can be up and running in a few minutes, and the old "works on my machine" problem can be a thing of the past.