[Ironruby-core] IronRuby Rack IIS6 TOPLEVEL_BINDING
Martin Smith
martin.smith.jr at gmail.com
Fri Sep 11 03:41:53 EDT 2009
Hi,
This is just a public service announcement. If you're trying to run
Rails on IIS6, you'll need to require 'hacks' at the top of your
config.ru file.
Here's mine:
------------------- config.ru -----------------------
require 'hacks' # required to avoid the ERB::TOPLEVEL_BINDING error.
require "config/environment"
use Rails::Rack::LogTailer
use Rails::Rack::Static
run ActionController::Dispatcher.new
-------------------- end ------------------------------
Hope this helps,
Martin
More information about the Ironruby-core
mailing list