Skip to content

Instantly share code, notes, and snippets.

@pelargir
Created December 13, 2012 15:56
Show Gist options
  • Select an option

  • Save pelargir/4277379 to your computer and use it in GitHub Desktop.

Select an option

Save pelargir/4277379 to your computer and use it in GitHub Desktop.

Revisions

  1. pelargir renamed this gist Dec 13, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. pelargir created this gist Dec 13, 2012.
    9 changes: 9 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    if [ -f script/server ]
    then
    script/server
    elif [ -f .env ]
    then
    foreman start -p 3000
    else
    script/rails server
    fi