Screw it! — Moving my Rails app to production takes more time than developing it!

Your Rails application is the heart of your business. Built with great care, using best practices and being tested extensively. You trust your codebase and you are ready for release.

But before even thinking about how to tackle boring day-to-day sysadmin tasks, you have to assemble your stack from a wealth of options — in a way that allows you to rebuild your server or add new ones when you need them.

You already tried hosting your application with a PaaS like Heroku, EngineYard or Ninefold only to find out that they do not quite cut it for you:

You are on a point where you have outgrown hosting with a PaaS and realize that running your own infrastructure is the way to go.

Moving to production destroys the momentum of your agile workflow.

Now imagine yourself having all this information at hand, liberated by not having to hunt down every small drip of wisdom:

You application development reaches a whole new level:

There is no longer a difference between running your app locally and serving it to your customers.

The problem is gaining all the necessary knowledge, most of which is hidden inside of half-assed blog posts and outdated tutorials. Gathering this information takes days, weeks or even months of trial-and-error — time you would rather spend on developing awesome products for your customers.

Unfortunately, there is not a single resource providing you with distilled information on how to efficiently build your environment in such a way.

Until now.

10 years of Rails operations experience squashed into a book


Efficient Rails DevOps is the result of a decade of experience releasing Rails applications and reliably running them in production.

It covers what I believe is the most efficient approach to serving Rails applications for Bootstrappers and Small Businesses.

Having served me perfectly as long as I can think of in powering every Ruby-based web application I built in the last 10 years, this second edition of Efficient Rails DevOps adds a lot of refinements to the process and incorporates valuable feedback from readers of the initial release.

After making it through its 165 pages, you will know how to …

By building a reusable and versioned playbook you'll be able to seamlessly switch between staging and production environments, enabling you to test out new features of your application in an isolated environment to eliminate the fear of breaking something when pushing to production.

You'll have more time to concentrate on building awesome products for your customers instead of constantly messing with new error messages.

This very website has been brought to life on a new server within less than 10 minutes using the techniques described in the book.

Watch the deploy routine push an update to this website in less than 12 seconds:

What readers are saying

Two years ago, I spent 2 weeks and literally thousands of dollars of productive time learning by trial and error (many, many errors!) how to automate our server provisioning and Rails application deployment with Ansible.

If Michael had written his book sooner, I could have set up the same automation in an afternoon

If you’re looking on migrating away from expensive black box PaaS or from wonky shell scripts, get this book.


Thomas Fuchs
Rails Core alumni, Freckle

To me, it's clear that this book will save developers HOURS of time and TONS of frustration, trying to figure out what they did wrong. I especially like how you tackled all security issues and explained why you did what you did. Top that with the fact that this is a bulletproof, foolproof process that's been refined over the course of 10 years and you've got a robust sure-fire method for deploying Rails apps.

This book is a piece of gold and a must-have for anyone doing DevOps. You need to get that into the hands of the people who actually need it.


Gergana Dimova
Marketing wizard,

I loved the book. It was easy to follow and concise. It helped me greatly in automating some of our infrastructure setup and gave very helpful practical examples of how to use Ansible.

I think it provides a much needed resource for a neglected area of tech.


Don Schrimsher
Nooma Technologies, LLC.

Thanks for a great book. I've read it cover-to-cover already. I've been deploying Rails applications for 3 years and I have picked up a bunch of tricks, both large and small, that I hadn't learned on my own.


Wayne Hiner
Powerful SHIFTS

This is an excellent product. It's been great for me getting a client off Heroku. It's in such great detail, which is helpful for me as a complete DevOps beginner.


Fritz Meissner

Efficient Rails DevOps is sold for $49.99 (your license will include free updates for life).

Yes, I want to buy the book!

Selling is handled by Gumroad (you may buy the book with your credit card or PayPal account).

Is this book for me?

Efficient Rails DevOps is targeted at Rails developers of any level, as long as they want to release their applications on their own server.

Grab a copy if you …

  • … want to know exactly what steps are necessary to make a Rails application run on a server.
  • … are fed up with managing your environment with scripts needing your constant attention.
  • … have already wasted too much of your precious time messing around with configuration files, permissions and untraceable errors.

Leave quickly if you …

  • … absolutely loathe Linux and its command line.
  • … are willing to make the final layer between your application and your customers someone else's responsibility.
  • … rather spend the book's price on one month of hosting a single app with a PaaS.

Frequently asked questions

Still not convinced? Join my email list and I will send you a free sample chapter and the book's table of contents.

Or drop me a line — I'll be happy to answer any questions!

About the author

My name is Michael Trojanek and I have been building Rails applications in my spare time as well as managing Linux servers in my dayjob for the last 10 years.

I maintain a mailing list with hundreds of members receiving weekly-ish content on Rails DevOps and Bootstrapping and I have already released two successful books for Rails developers and operators.

You can follow me on Twitter or get more information about me and my products on my website.