Skip to content

Instantly share code, notes, and snippets.

@itang
Last active August 29, 2015 14:15
Show Gist options
  • Save itang/3830f53c41026bce0e33 to your computer and use it in GitHub Desktop.
Save itang/3830f53c41026bce0e33 to your computer and use it in GitHub Desktop.
torquebox run on jruby
require 'sinatra'
get '/' do
"hello, world: sinatra"
end
require 'b'
run Sinatra::Application
source "http://rubygems.org"
ruby '2.2.0', engine: 'jruby', engine_version: '9.0.0.0.pre1'
gem 'rack'
gem "torquebox-web", "4.0.0.alpha1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment