It might be better to use Phusion Passenger + Nginx support for SSL. This combo has widely available documentation and is very easy to set up, as it is currently the most popular application server choice and is used by the New York Times, Symantec, AirBnB, etc. Here's how you do it if you have Nginx with Phusion Passenger installed:
server { listen 443; server_name yourapp.local; ssl on; ssl_certificate ...; ssl_key ...; root /path-to-your-app/public; passenger_enabled on; }
source share