Skip to content

Instantly share code, notes, and snippets.

@osahyoun
Last active December 15, 2015 02:59
Show Gist options
  • Save osahyoun/5190802 to your computer and use it in GitHub Desktop.
Save osahyoun/5190802 to your computer and use it in GitHub Desktop.
Tiny script for creating the backbone for a simple ruby app.
#! /bin/sh
# What is the name of the app?
NAME=$1
# Make directory structure
mkdir -p $NAME/{lib/$NAME,spec/lib/$NAME}
cd $NAME
# Create files
touch lib/$NAME.rb
touch README.md
touch Gemfile
touch Procfile
touch config.ru
touch spec/spec_helper.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment