lib/bivouac/template/console.rb in bivouac-0.3.0 vs lib/bivouac/template/console.rb in bivouac-0.4.0
- old
+ new
@@ -6,9 +6,7 @@
# Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
#
# DO NOT EDIT THIS FILE OR YOU REALLY KNOW WHAT YOU ARE DOING
#
require 'rubygems'
-app = File.dirname(__FILE__) + "/../app/<%= @conf.appfile %>.rb"
-
-ENV['BIVOUAC_ROOT'] = File.expand_path( File.dirname(__FILE__) + "/../" )
-system "ruby #{app} -c #{ARGV.join(' ')}"
+server = File.dirname(__FILE__) + "/server"
+system "ruby #{server} -C #{ARGV.join(' ')}"