This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'java' | |
require 'mvn:org.clojure:clojure' | |
require 'mvn:org.clojure:clojure-contrib' | |
require 'clojure-jsr223' | |
java_import 'javax.script.ScriptEngineManager' | |
factory = ScriptEngineManager.new | |
engine = factory.get_engine_by_name 'Clojure' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
http: | |
nio: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[00:08:06][jruby-1.6.1][/tmp/trinidad-sinatra-19 (master)] | |
$ git clone git://github.com/kbaum/trinidad-sinatra-19.git && cd trinidad-sinatra-19 && bundle install && gem install trinidad && JRUBY_OPTS="--1.9" trinidad -r | |
Cloning into trinidad-sinatra-19... | |
remote: Counting objects: 6, done. | |
remote: Compressing objects: 100% (4/4), done. | |
remote: Total 6 (delta 0), reused 0 (delta 0) | |
Receiving objects: 100% (6/6), done. | |
Fetching source index for http://rubygems.org/ | |
Installing rack (1.2.2) | |
Installing tilt (1.3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
throw new IllegalStateException(); | |
} catch (IllegalStateException e) { | |
log.info(sm.getString("webappClassLoader.stopped", name), e); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-collections-3.1.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-dbcp-1.2.1.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-logging-1.0.4.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-math-1.0.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-pool-1.2.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/commons-vfs-1.0.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/eigenbase-properties.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/eigenbase-resgen.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6.0/gems/mondrian-olap-0.1.0/lib/mondrian/jars/eigenbase-xom.jar", | |
"file:/Users/david/.rvm/gems/jruby-1.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def index | |
schema = Mondrian::OLAP::Schema.define do | |
cube 'Sales' do | |
table 'sales' | |
end | |
end | |
render :text => 'baaaarrrrr' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 917811e6b495cdd11a2e94ffa8bc6474c0ec56b1 Mon Sep 17 00:00:00 2001 | |
From: David Calavera <[email protected]> | |
Date: Sun, 27 Mar 2011 19:50:49 -0700 | |
Subject: [PATCH] don't use the shared runtime. It's not properly configured nor useful | |
--- | |
.../jruby/rack/DefaultRackApplicationFactory.java | 7 +------ | |
1 files changed, 1 insertions(+), 6 deletions(-) | |
diff --git a/src/main/java/org/jruby/rack/DefaultRackApplicationFactory.java b/src/main/java/org/jruby/rack/DefaultRackApplicationFactory.java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b366b503ba091d345b37484b62a11700dec37dd5 Mon Sep 17 00:00:00 2001 | |
From: David Calavera <[email protected]> | |
Date: Wed, 23 Mar 2011 19:09:47 -0700 | |
Subject: [PATCH] fix JRUBY-5638: jrubyc path output | |
--- | |
lib/ruby/site_ruby/shared/jruby/compiler.rb | 12 ++++++-- | |
src/org/jruby/util/JavaNameMangler.java | 36 +++++++++++++++----------- | |
2 files changed, 30 insertions(+), 18 deletions(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run Proc.new {|env| [200, {"Content-Type" => "text/html"}, "Hello Rack!"]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run Proc.new {|env| [200, {"Content-Type" => "text/html"}, "Hello Rack!"]} |