Skip to content

Instantly share code, notes, and snippets.

Bradley Marques bradleymarques

Block or report user

Report or block bradleymarques

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bradleymarques
bradleymarques / setup_ruby_project.sh
Last active May 10, 2016
Bash script to initialise skeleton Ruby (not Rails) project. Pass in the name of the project and it will create the file structure and some initial files, as per this tutorial: http://learnrubythehardway.org/book/ex46.html. Also initialises the folder as a git repository and does an initial commit. Finally, the script runs a smoke test to ensure…
View setup_ruby_project.sh
#!/bin/bash
name=$1
if [[ -z $name ]]; then
echo "Please specify a name for the Ruby project"
exit
fi
# Setup directory structure
mkdir $name
You can’t perform that action at this time.