Skip to content

Instantly share code, notes, and snippets.

@frank184
Last active May 12, 2016 05:50
Show Gist options
  • Save frank184/64f7b1dd33132d12c0ca to your computer and use it in GitHub Desktop.
Save frank184/64f7b1dd33132d12c0ca to your computer and use it in GitHub Desktop.
My version of the railsComposer.sh script
#!/bin/bash
project_name=$1
if [ -z project_name ]; then
echo
echo "projects need names too, I'm sure you can think of a neat one!"
echo " ex: rails_composer neat_name"
echo
else
mkdir $project_name
cd $project_name
rails new . -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment