Skip to content
Browse files

fix gem server startup

  • Loading branch information...
1 parent a224e3e commit 24b7bf80645322a98fb79f8c6097f2250548e907 sshaw committed Feb 26, 2013
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

0 comments on commit 24b7bf8

Please sign in to comment.
Something went wrong with that request. Please try again.