[macruby-changes] [3989] ControlTower/branches/gcd-ify/bin/control_tower

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 30 19:41:22 PDT 2010


Revision: 3989
          http://trac.macosforge.org/projects/ruby/changeset/3989
Author:   joshua.ballanco at apple.com
Date:     2010-04-30 19:41:16 -0700 (Fri, 30 Apr 2010)
Log Message:
-----------
Don't need to be quite so complicated

Modified Paths:
--------------
    ControlTower/branches/gcd-ify/bin/control_tower

Modified: ControlTower/branches/gcd-ify/bin/control_tower
===================================================================
--- ControlTower/branches/gcd-ify/bin/control_tower	2010-05-01 01:59:31 UTC (rev 3988)
+++ ControlTower/branches/gcd-ify/bin/control_tower	2010-05-01 02:41:16 UTC (rev 3989)
@@ -40,7 +40,7 @@
 ENV['RACK_ENV'] = 'development'
 
 rackup_config = File.read(File.expand_path(@options[:rackup]))
-app = eval("Rack::Builder.new {( #{rackup_config}\n )}.to_app", TOPLEVEL_BINDING)
+app = Rack::Builder.new {( rackup_config )}.to_app
 
 # Let's get to business!
 server = ControlTower::Server.new(app, @options)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100430/8088362b/attachment.html>


More information about the macruby-changes mailing list