From 2d0fe1a4197e70cb99f4285a8b32a645914d8beb Mon Sep 17 00:00:00 2001 From: guntasgrewal Date: Sat, 26 Apr 2014 20:35:43 -0400 Subject: Wrote a script the start the server called start deleted the old one. The new one has 2 flag options -c and -s these correspond to starting the console or server respectively. --- start | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 start (limited to 'start') diff --git a/start b/start new file mode 100755 index 0000000..9ee8eba --- /dev/null +++ b/start @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ $1 == "-c" ]; then + bundle exec rails c +fi +if [ $1 == "-s" ]; then + bundle exec rails s +fi + +#echo "Only use: start -c or start -s. Don't be a jackass." + -- cgit v1.2.3-54-g00ecf