Permalink
Browse files

Detection attempt

  • Loading branch information...
1 parent d87130d commit 1eb523f04ffc369aaf1f11025e8413d66a82d5af @wycats wycats committed Sep 10, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 bin/sc-server
View
5 bin/sc-server
@@ -6,6 +6,11 @@
# and contributors
# ===========================================================================
+if caller.empty?
+ puts "FATAL: You need to invoke sc-server from an installed gem or through bundler."
+ exit
+end
+
require "sproutcore"
SC::Tools.invoke 'server'

0 comments on commit 1eb523f

Please sign in to comment.