This updates the install and chef scripts to use ruby2.0 and install the newest version of the github-pages gem, allowing us to use Jekyll ~2.5. This fixes an issue causing Jekyll to silently fail when it tried to build the current codeforamerica/codeforamerica.org master branch.
In the install.sh script, we apt-get ruby2.0 and ruby2.0-dev so we can install the most recent version of chef.
In the github-pages chef recipe, we use ruby2.0, ruby2.0dev and zlib1g-dev pacakges to build the github-pages gem. This gives us the newest version of Jekyll.
In the apache chef recipe, I updated the scripts to activate a required SSL module that was causing apache to fail at start
In the apache chef recipe, I also updated the configuration file tasks to use .conf file endings, following apache conventions (this allows for the standard commands a2ensite and a2dissite to be run, and also ensure we delete the default .conf files)
In the README, I changed the startup command to reflect that guincorn needs some custom flags to run this correctly
Thanks to @wpietri for all the help with chef.
@migurski, I noticed the gunicorn chef recipe creates an upstart script for jekit (looks like it should allow for $ service start jekit. Is that how we should be instructing people to start up the app? I couldn't get it to work, so I just ran gunicorn myself.
This updates the install and chef scripts to use ruby2.0 and install the newest version of the github-pages gem, allowing us to use Jekyll ~2.5. This fixes an issue causing Jekyll to silently fail when it tried to build the current codeforamerica/codeforamerica.org master branch.
Thanks to @wpietri for all the help with chef.
@migurski, I noticed the gunicorn chef recipe creates an upstart script for jekit (looks like it should allow for
$ service start jekit
. Is that how we should be instructing people to start up the app? I couldn't get it to work, so I just ran gunicorn myself.Feedback on this welcome. I kind of felt around in the dark until I got things to work (with help). You can check out this branch running at http://107.170.241.55 (try (http://107.170.241.55/codeforamerica/codeforamerica.org/master/).