Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix gem server startup

  • Loading branch information...
commit 24b7bf80645322a98fb79f8c6097f2250548e907 1 parent a224e3e
sshaw authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 bash_profile
View
5 bash_profile
@@ -29,4 +29,7 @@ fi
export LESS
export JAVA_HOME
-#gem server --daemon
+if which lsof > /dev/null
+then
+ { lsof -i :8808 || gem server --daemon --port 8808; } > /dev/null 2>&1
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.