Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
68 lines (44 sloc) 1.38 KB


A simple gem for getting your development (or other) environments setup quickly! Efficiently bootstrap Ruby applications based upon the GitHub script/bootstrap model, but with a clean DSL on top.

Right now it's very lightweight, and the DSL is expected to change as we use it on more projects and find we need to revise how we're doing things.


Add this line to your application's Gemfile:

gem 'bootlace', require: false

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootlace


Create a script/bootstrap file in your app that looks like so:

#!/bin/env ruby

require 'bootlace'

Bootlace.strap_up do |b|
  b.package mac: "redis", ubuntu: "redis-server"
  b.rake 'db:create', environment: { RAILS_ENV: "test" }


Bootlace provides a simple, opinionated helper to help simplify the process of bootstrapping a typical Rails application.

The snippet below will:

  • Run bundler if needed
  • Create the db
  • Load the schema
  • Seed the db
  • Prepare the test database
#!/bin/env ruby

require 'bootlace'

Bootlace.strap_up do |b|


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Jump to Line
Something went wrong with that request. Please try again.