Skip to content
Browse files

added new requires, tidied up a bit

  • Loading branch information...
1 parent 1d7c623 commit a890098c26f3135168b6ca7f07d3fa759604d767 @robomc committed
Showing with 10 additions and 9 deletions.
  1. +10 −9 BAM.rb
View
19 BAM.rb
@@ -1,6 +1,8 @@
require 'rubygems'
require 'builder'
+$stdout.sync = true
+
PATH = File.expand_path(File.dirname(__FILE__))
SCRIPT = ARGV[0]
@@ -13,23 +15,22 @@
PORT = 5000
-$:.unshift PATH
-
-
+KEY = Time.now.to_i
+$:.unshift PATH
require 'helpers/colourize.rb'
require 'helpers/net_tools.rb'
require 'runner.rb'
require 'resources/view.rb'
+require 'script_instances.rb'
require 'server/server.rb'
-$OPTS = Hash.new
-$OPTS[:host] = "0.0.0.0"
-$OPTS[:port] = 5000
-$OPTS[:root] = ""
-$OPTS[:script] = 'hello.rb'
+# $OPTS = Hash.new
+# $OPTS[:host] = "0.0.0.0"
+# $OPTS[:port] = 5000
+# $OPTS[:root] = ""
+# $OPTS[:script] = 'hello.rb'
-View.new_session
server = Server
server.start

0 comments on commit a890098

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