Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Latest commit

 

History

History
23 lines (13 loc) · 683 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 683 Bytes

Shell Sinatra

A shell script to generate my common Sinatra project.

This script relies on having these utilities installed.

  • rbenv
  • Bundler

Run the script

When run, this file creates a new folder in the current directory and generates inside that the folders and files for a basic Sinatra project.

You can run the script a few ways (bash, sh, etc.):

  • bash shell_sinatra.sh [ FOLDER NAME ] [ RUBY VERSION ]

Example

  • bash shell_sinatra.sh my-new-project 2.1.0

If you don't pass options to the script, it will generate a folder in the current directory named new-sinatra-project and set the local version of ruby (using rbenv to your system default.