Public Gists by nicksieger

Gravatar
Mon Nov 09 10:05:19 -0800 2009
1
2
3
diff --git a/src/org/jruby/RubyClass.java b/src/org/jruby/RubyClass.java
index 62b29ac..ac3c51a 100644
--- a/src/org/jruby/RubyClass.java
Gravatar
Thu Nov 05 14:31:14 -0800 2009
1
2
3
run-junit-compiled-short:
     [echo] compile=JIT, jit.threshold=0, jit.maxsize=1000000000, jit.max=-1, objectspace=true threadpool=false reflection=false version=ruby1_8
    [junit] Testsuite: org.jruby.test.ScriptTestSuite
Gravatar
Wed Oct 28 09:53:29 -0700 2009
1
2
3
ERROR: While executing gem ... (TypeError)
    wrong argument type Pathname (expected String)
/Users/nicksieger/Projects/ruby/jruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:317:in `generate_bin'
Gravatar
Thu Oct 22 10:41:16 -0700 2009
1
2
3
require 'java'
 
# Default handler methods to override found at
Gravatar
Fri Oct 16 13:51:14 -0700 2009
1
2
3
diff --git a/src/org/jruby/Ruby.java b/src/org/jruby/Ruby.java
index c57d3e7..31c1f10 100644
--- a/src/org/jruby/Ruby.java
Gravatar
Thu Oct 15 15:51:30 -0700 2009
1
2
3
From edea5da444fbcd4a308e8a8eb3643ca7af5354df Mon Sep 17 00:00:00 2001
From: Nick Sieger <nick@nicksieger.com>
Date: Fri, 16 Oct 2009 11:39:32 -0500
Gravatar
Tue Oct 13 13:29:11 -0700 2009
1
2
3
     [java] 1) Failure:
     [java] test_trace_over_system_call(TestTraceFunc) [./test/tracing/test_trace_func.rb:23
     [java] <["test_trace_func.rb line 218 test_trace_over_system_call TestTraceFunc",
Gravatar
Tue Oct 13 13:05:37 -0700 2009
1
2
3
jruby 1.5.0dev (ruby 1.8.7 patchlevel 174) (2009-10-13 bd4eb41) (Java HotSpot(TM) Client VM 1.5.0_20) [i386-java]
F...............................................................E......................................................................F..F..
 
Gravatar
Mon Oct 12 10:53:33 -0700 2009
1
2
3
IO.popen('/usr/sbin/postqueue -p') do |queue|
  IO.popen('/usr/sbin/postsuper -d -', 'w') do |mgr|
    while idline = queue.gets
Gravatar
Fri Sep 18 10:32:38 -0700 2009
1
2
3
require 'erb'
@categories = %w(a b c)
template = DATA.read
Gravatar
Sat Sep 05 10:11:21 -0700 2009
1
2
3
lib/ruby/gems/1.8/gems/jruby-openssl-0.5.2
lib/ruby/gems/1.8/gems/jruby-openssl-0.5.2/History.txt
lib/ruby/gems/1.8/gems/jruby-openssl-0.5.2/lib
Gravatar
Tue Sep 01 13:32:34 -0700 2009
1
2
3
diff --git a/shared/file/executable.rb b/shared/file/executable.rb
index d209375..6b6174e 100644
--- a/shared/file/executable.rb
Gravatar
Tue Sep 01 13:26:03 -0700 2009
1
2
3
diff --git a/lib/mspec/helpers.rb b/lib/mspec/helpers.rb
index 47a2959..abe0f60 100644
--- a/lib/mspec/helpers.rb
Gravatar
Tue Sep 01 13:25:58 -0700 2009
1
2
3
diff --git a/lib/mspec/helpers.rb b/lib/mspec/helpers.rb
index 47a2959..abe0f60 100644
--- a/lib/mspec/helpers.rb
Gravatar
Tue Sep 01 10:08:26 -0700 2009
1
2
3
Here are the basic steps to create a war file from a Rails application. This is what [Warbler](http://warbler.kenai.com/) does.
 
1. Make a staging directory to create the structure, and make a WEB-INF directory in side of that.
Gravatar
Fri Aug 28 10:03:07 -0700 2009
1
2
3
class Foo
  def invoke
    send()
Gravatar
Fri Aug 28 07:32:31 -0700 2009
1
2
3
# Put this in config/initializers/jdbc_adapter.rb
class ActiveRecord::ConnectionAdapters::JdbcAdapter
  def execute_raw(sql, name = nil)
Gravatar
Wed Aug 26 11:50:33 -0700 2009
1
2
3
save_last_status()
{
    laststatus=$?
Gravatar
Tue Aug 18 13:34:08 -0700 2009
1
2
3
$ jruby spec/mspec/bin/mspec spec/ruby/core/array/pack_spec.rb
jruby 1.4.0dev (ruby 1.8.7p174) (2009-08-18 d1ae677) (Java HotSpot(TM) Client VM 1.5.0_19) [ppc-java]
........................................................................................................................................................................................................................................................................................................................................................................................................F...............F...............F.............F.............F...............F................................................................................
Gravatar
Mon Aug 17 13:11:35 -0700 2009
1
2
3
$ ruby ../mspec/bin/mspec -t ruby ../rubyspec/core/time/at_spec.rb
ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
F....