Sha256: f5a50e04e633210d048925ec909721e83f1a73226c2ce199037d748042b4dca3

Contents?: true

Size: 581 Bytes

Versions: 4

Compression:

Stored size: 581 Bytes

Contents

require 'rubygems'
require 'sinatra'

gem 'trinidad_jars'
require 'trinidad/jars'

app_path = $servlet_context.get_real_path('app/sandbox.rb')
require app_path

set :environment, :development
set :app_file, app_path
disable :run

run Sinatra::Application

#gem 'trinidad_jars'
#require 'trinidad/jars'
#require 'trinidad_sandbox_extension'
#require 'trinidad_sandbox_extension/sandbox_app'

#class Sinatra::Reloader < ::Rack::Reloader
#  def safe_load(file, mtime, stderr)
#    Sinatra::Application.reset!
#    super
#  end
#end
#use Sinatra::Reloader

#run Trinidad::Sandbox::App

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trinidad_sandbox_extension-0.4.0 lib/trinidad_sandbox_extension/config.ru
trinidad_sandbox_extension-0.3.0 lib/trinidad_sandbox_extension/config.ru
trinidad_sandbox_extension-0.2.0 lib/trinidad_sandbox_extension/config.ru
trinidad_sandbox_extension-0.1.0 lib/trinidad_sandbox_extension/config.ru