My Recent Pastes (24 and counting)
Recent Pasties by stepheneb (24 and counting)
Pages: 1 2
Below are summaries of the 15 most recent pasties by stepheneb.
January 02, 2009
2:58AM EDT
by stepheneb
View more (115 lines)
1 2 3 4 5 |
Here's an activerecord test that not passing: ## validations_test.rb -- activerecord [ruby] def test_validates_length_of_using_maximum_utf8 |
January 02, 2009
1:40AM EDT
by stepheneb
View more (12 lines)
1 2 3 4 5 |
dropdb activerecord_unittest dropdb activerecord_unittest2 dropuser rails createuser rails --createdb --no-superuser --no-createrole createdb -O rails activerecord_unittest |
December 31, 2008
3:03PM EDT
by stepheneb
View more (425 lines)
1 2 3 4 5 |
## patch for activerecord which allows running rails tests in JRuby [diff] From a96d0319871a4910f80c1cc0561fdc33206c4cdb Mon Sep 17 00:00:00 2001 From: Stephen Bannasch <stephen.bannasch@gmail.com> Date: Sat, 27 Dec 2008 15:37:47 -0500 Subject: [PATCH] initial work to get AR tests working with JRuby and jdbc |
December 10, 2008
7:29PM EDT
by stepheneb
View more (484 lines)
1 2 3 4 5 |
# here's my build script [bsd-port]$ cat build.sh #!/bin/bash SOYLATTE_HOME=$HOME/dev/java/src/soylatte |
December 03, 2008
9:14PM EDT
by stepheneb
View more (9 lines)
1 2 3 4 5 |
Cool, pastie is now easily avaialble on the #otrunk irc channel. Just type pastie, pastie will respond with a private chat, click the link in that private chat, edit the paste, save it => and a message from pastie will appear in the #otrunk channel with the new pastie url. ... well it should appear in the channel ... |
April 14, 2008
10:38AM EDT
by stepheneb
View more (234 lines)
1 2 3 4 5 |
[~/dev]$ mkdir testjruby2 [~/dev]$ cd testjruby2 [~/dev/testjruby2]$ svn co http://svn.codehaus.org/jruby/tags/jruby-1_1 jruby A jruby/test A jruby/test/load |
April 09, 2008
10:51AM EDT
by stepheneb
View more (26 lines)
1 2 3 4 5 |
## add-bin-dir-to-end-of-path [shell] #!/bin/sh # # Adds <current_directory>/bin to end of PATH # unless PATH already contains <current_directory>/bin |
April 09, 2008
10:38AM EDT
by stepheneb
View more (25 lines)
1 2 3 4 5 |
# # fun with rubygems new mechanism to generate the actual # name for the gem command with different real and imaginary # ruby vms # |
April 08, 2008
10:08PM EDT
by stepheneb
View more (49 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?> <java class="java.beans.XMLDecoder" version="1.4.0"> <object class="net.sf.sail.core.service.impl.CurnitUrlProviderImpl"> <void property="url"> <string>file:otrunk-curnit-external-diytest.jar</string> |
April 08, 2008
10:06PM EDT
by stepheneb
View more (196 lines)
1 2 3 4 5 |
jruby -d generate_classloader_exception.rb /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/gems/1.8/gems/hpricot-0.6.161-java/lib/hpricot/builder.rb:26 warning: `&' interpreted as argument prefix /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/module.rb:16 warning: instance variable @java_aliases not initialized /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/module.rb:16 warning: instance variable @java_aliases not initialized /Users/stephen/dev/jruby_trunk/jruby/lib/ruby/site_ruby/1.8/builtin/javasupport/core_ext/module.rb:16 warning: instance variable @java_aliases not initialized |
April 08, 2008
9:04PM EDT
by stepheneb
View more (38 lines)
1 2 3 4 5 |
# # The following statement executes a Java class that uses XMLDecoder to instantiate # a class from an XMLEncoded xml file. I have required the jar that has the class being # instantiated. I can create an instance of the class directly however when I execute # this code I get a ClassNotFoundException. |
April 07, 2008
11:54PM EDT
by stepheneb
1 |
ssh-dss AAAAB3NzaC1kc3MAAACBAPWubLkZkmjcE2OZ+YSlmAIhOK7Yqmj5BzVo9miELHoV/aNzicYq4oqlilawA6/oJ84ZAeEdZ8XAUrlcS+ysZH5htnBu8wIWry6wHl4J3pKoQRpPAWowPZI7dEcoDgWSqgQo3//jivUtPc+BazQ2TsXLAOneBgk+JRhUb0JUPzAfAAAAFQClSGTzDWMpxj6D1eScFR6FLGErGQAAAIEAv4bU6qvp8isoHRMPeaBvxTAjt0u4B4PlZE7Xb2eGAyq0Li8AALZ7Iu7Ojv78fxGdvL4vCpdLzzqXRjlvS+EoCcwbL5hLKS2tpkLHfAHIIVSxh0g3Gyoe5Rr0rCe/R8+cLG2hpElWTtHCTE+VO2mSL70+JAfWVOX+kHHUk1uI+d4AAACAepn+q0s5KLOXAFobLl8XNKWIIikjm23DVn1kdU5p0Xp+j2BYJ9U4YvymKC2/9EJsAnw+G2N5DQq49DfZMNLq8ayVQa86D077YFpEloMVOQKCG7LLq3n6mUir2GE7m0z02WSWFc7lGGxwFAxN9Y1/uE2jRN1y9qPzECHESx88ZMk= stephen@StephenS-G4-3159.local |
April 07, 2008
8:34PM EDT
by stepheneb
View more (490 lines)
1 2 3 4 5 |
# running mspec tests on rbx installed in custom directory # # See earlier steps: # # 1) Problems getting rbx to build and install to custom dir |
April 07, 2008
6:23PM EDT
by stepheneb
View more (13 lines)
1 2 3 4 5 |
diff --git a/shotgun/common.mk b/shotgun/common.mk index fa04d9c..563f978 100644 --- a/shotgun/common.mk +++ b/shotgun/common.mk @@ -26,7 +26,7 @@ ifeq ($(UNAME),Darwin) |
Pastie