Skip to content

Instantly share code, notes, and snippets.

$ bundle install --deployment --path tmp/bundled_gems --binstubs tmp/bin
Fetching source index for http://rubygems.org/
Installing rake (0.8.7)
Installing abstract (1.0.0)
Installing activesupport (3.0.4)
Installing builder (2.1.2)
Installing i18n (0.5.0)
Installing activemodel (3.0.4)
Installing erubis (2.6.6)
Installing rack (1.2.2)
From dc95ec82769ad1fe26210acc71b5f3cc70484824 Mon Sep 17 00:00:00 2001
From: David Calavera <[email protected]>
Date: Sat, 19 Mar 2011 09:45:05 -0700
Subject: [PATCH] use scripting container to initialize the runtime
---
.../jruby/rack/DefaultRackApplicationFactory.java | 24 ++++++++++++++++++-
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/jruby/rack/DefaultRackApplicationFactory.java b/src/main/java/org/jruby/rack/DefaultRackApplicationFactory.java
#! /bin/sh
# Generic script for running ruby scripts as daemons using
# jsvc and a java class to control the daemon.
#
# Contains common parameters and start/stop
# Things you'll need to set on a per script/daemon basis:
# SCRIPT_NAME - Path to the ruby script which creates a Daemon
# object for jsvc to control
# APP_NAME - Name of your application
# cat config/trinidad.yml
---
environment: production
port: 5000
log: info
extensions:
daemon:
pid_file: /data/cloudstock_demo/current/tmp/pids/trinidad_cloudstock_demo.pid
jvm_args: '-Xmx2048m'
From 2e053f4983ed4c7c95f783a5dc12804ae618d4b3 Mon Sep 17 00:00:00 2001
From: David Calavera <[email protected]>
Date: Thu, 10 Feb 2011 13:51:53 +0100
Subject: [PATCH] more accurate fix for JRUBY_RACK-38
---
src/main/ruby/jruby/rack/response.rb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/ruby/jruby/rack/response.rb b/src/main/ruby/jruby/rack/response.rb
require 'java'
require 'hello_world.jar'
From 009c702252ebd9bffe9451300a076470feaab849 Mon Sep 17 00:00:00 2001
From: David Calavera <[email protected]>
Date: Tue, 8 Feb 2011 22:49:39 +0100
Subject: [PATCH] add spec to ensure IO#readpartial works with multibyte characters
---
core/io/readpartial_spec.rb | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/core/io/readpartial_spec.rb b/core/io/readpartial_spec.rb
@calavera
calavera / Trinidad error
Created February 3, 2011 21:01
GF gem error
org/apache/catalina/connector/OutputBuffer.java:362:in `realWriteBytes': org.apache.catalina.connector.ClientAbortException: null (NativeException)
from org/apache/tomcat/util/buf/ByteChunk.java:437:in `flushBuffer'
from org/apache/tomcat/util/buf/ByteChunk.java:351:in `append'
SyntaxError: (SecurityError) can't modify literal regexp
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini/rexml.rb:30:in `parse'
org/jruby/RubyBasicObject.java:1671:in `send19'
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini.rb:78:in `parse'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:146:in `assert_equal_rexml'
/home/dcalavera/dev/rails3/activesupport/lib/active_support/xml_mini.rb:91:in `with_backend'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:146:in `assert_equal_rexml'
/home/dcalavera/dev/rails3/activesupport/test/xml_mini/jdom_engine_test.rb:82:in `test_one_node_with_attributes_document_as_hash'
org/jruby/RubyBasicObject.java:1665:in `send19'
/home/dcalavera/.rvm/gems/jruby-1.5.6/gems/mocha-0.9.10/lib/mocha/integration/mini_test/version_142_and_above.rb:27:in `run'
unsubscribe
No, seriously: How do I get off this list?
The headers seem to indicate that an email to [email protected]
with a subject of "unsubscribe-dev" should do the trick, but sympa
replies that it finds no command.
Is this Oracle's way of building a "community"? Creating email lists
that people can't unsubscribe from?