Nuts & Bolts ist eine Artikelserie für Ruby und Rails Entwickler

Erhalte Tipps, Tricks und Lösungen für deine tägliche Arbeit – verpasse keine Beiträge.

Create and install SSL certificates with ease – a Capistrano recipe

by Torsten Bühl

How to generate the Private Key, what's the correct chaining order, or how to create a PEM Certificate? We all know it and we hate it: Installing or renewing the SSL certificates for our application.

And after you finally figured it out, you'll unlearn the progress till you need it again. So I wrote a small Capistrano recipe to help you with this annoying job.

Find the revised Capistrano 3 version this article here.

Continue reading →

Run a remote Rails production console with Capistrano

by Torsten Bühl

We all love to enter the Rails console to try out some stuff. It's just a rails c away in development. But what if you want to view or fetch some specific data on your remote production server (and you're not on Heroku)? If you already deploy your app with Capistrano, why not use it for this task?

Continue reading →

Create a simple Jekyll-like blog in your Rails 4+ app

by Torsten Bühl

As I wrote in my first blog post, I had a hard time deciding how to add a blog to my app. Should I use Jekyll, another Rails blog engine, or just build a simple blog functionality myself? I already use Jekyll for my private developer blog, and I like it. But in this case I decided to write my own – and I'll show you why and how.

Continue reading →