rubyx-debugger/config.ru
Torsten Ruger a0721a0cde move to opal from sinatra
also external index
2015-07-22 17:10:50 +03:00

16 lines
304 B
Ruby

# config.ru
require 'bundler'
Bundler.require
require "react/source"
run Opal::Server.new {|s|
s.append_path 'app'
s.append_path File.dirname(::React::Source.bundled_path_for("react-with-addons.js"))
s.main = 'debugger'
s.debug = true
s.source_map = true
s.index_path = "index.html.erb"
}