Also check this helpful gist.
For every other project, the requirement of using SSL HTTPS crops up. And I’m sure, just like me, you were annoyed that there doesn’t seem to be a simple way to test your SSL stuff in your local development environment.
Well: Not any more. Here’s how you set up your local Rails environment so that you can use SSL in development if you want or need to.
Note: I’m assuming you don’t want to mess with your local Apache but want to use the regular Rails server command.