Last active
May 12, 2016 05:50
-
-
Save frank184/64f7b1dd33132d12c0ca to your computer and use it in GitHub Desktop.
My version of the railsComposer.sh script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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