[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] enabling ruby in the subversion build

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 26 Mar 2012 14:39:41 +0200

Any follow-ups on this? We need to support Ruby 1.9 eventually and
it would be great to get these patches into a state where they can
be committed.

On Thu, Jan 26, 2012 at 12:32:58PM +0000, Philip Martin wrote:
> Philip Martin <philip.martin_at_wandisco.com> writes:
>
> > The line is:
> >
> > require "test/unit/ui/testrunnermediator"
> >
> > ruby-1.8 works because testrunnermediator.rb is part of libruby1.8 on my
> > machine, it does not appear to be part of the standard ruby-1.9.1
> > install.
>
> So I can install a gem:
>
> export GEM_HOME=$HOME/.rubygems
> gem1.9.1 install test-unit
>
> Now I get an "undefined method" error:
>
> nice make check-swig-rb
> cd /home/pm/sw/subversion/obj2/subversion/bindings/swig/ruby; \
> if [ "1" -eq 1 -a "9" -lt 9 ] ; then \
> /usr/bin/ruby1.9.1 -I /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby \
> /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb \
> --verbose=normal; \
> else \
> /usr/bin/ruby1.9.1 -I /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby \
> /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb; \
> fi
> /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:162:in `alias_method': undefined method `run' for class `Test::Unit::TestSuite' (NameError)
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:162:in `<class:TestSuite>'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:153:in `<module:Unit>'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:25:in `<module:Test>'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext/priority.rb:24:in `<top (required)>'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/pm/sw/subversion/src2/subversion/bindings/swig/ruby/test/test-unit-ext.rb:21:in `<top (required)>'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from <internal:lib/rubygems/custom_require>:29:in `require'
> from /home/pm/sw/subversion/obj2/../src2/subversion/bindings/swig/ruby/test/run-test.rb:38:in `<main>'
>
>
> --
> uberSVN: Apache Subversion Made Easy
> http://www.uberSVN.com
Received on 2012-03-26 14:40:25 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.