Skip to content

Instantly share code, notes, and snippets.

@sarcilav
Created October 23, 2009 04:39
Show Gist options
  • Save sarcilav/216649 to your computer and use it in GitHub Desktop.
Save sarcilav/216649 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ $# -eq 1 ]
then
gnome-terminal --working-directory=$1 --tab -t Server --command="script/server" --tab -t Log --command="tail -f log/development.log" --tab -t Consola --command="script/console" --tab --command=bash
else
echo Bad command
echo Usage:
echo " lets-rails <directory>"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment