Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Passenger-Stack: Quickly Install a full Ruby and Passenger Stack

By Peter Cooper / February 21, 2009

stack.png

Passenger-Stack is a set of scripts for the provisioning tool Sprinkle that make installing a full Ruby, Apache and Passenger-based stack almost a one-line task. It'll take almost any UNIX-y (correction: Ubuntu / Debian) server of your choice from a generic install through to deploying Rack-based apps (including those built with Rails, Merb, Sinatra, and Ramaze).

The Sprinkle scripts behind Passenger-Stack were developed by Ben Schwarz and the best introduction is his five minute screencast showing how it works (on Ubuntu 8.10 hosted with Slicehost). Ben is very keen for people to fork the scripts on Github and customize them further.

If you're not familiar with Sprinkle, by the way, it's a "software provisioning tool" that you can use to perform installs and remote builds with. In essence, it allows you to write installation scripts using a Ruby-based DSL.

Comments

  1. Marten Veldthuis says:

    "It'll take almost any UNIX-y server of your choice"

    Almost any, as long as it's ubuntu, you mean?

  2. Peter Cooper says:

    Or Debian. Good point though - corrected. Looks like it'd be trivial to replace apt with yum to cover the Fedora / RedHat / CentOS base.

  3. Ed Spencer says:

    Very nice, looks like it will save me the time and pain associated with doing this time after time. Thanks Ben.

  4. Ahabman says:

    Anyone know how this compares to the latest deprec gem?

  5. Hubert Łępicki says:

    This is definitely cool. I have been interested in CouchDB for some time now, it's amazing tool. Good to have some convenient API working in Ruby :).

  6. Hubert Łępicki says:

    Ok, pff. Wrong tab, had 2 stories from RubyInside opened!

Other Posts to Enjoy

Twitter Mentions