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

Re: make_gem.rb

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-04-06 18:14:05 CEST

On Fri, 06 Apr 2007, D.J. Heap wrote:

> On 4/2/07, Kouhei Sutou <kou@cozmixng.org> wrote:
> >Hi Joe, DJ,
> >
> >I wrote a small script that makes .gem.
> >
> >Joe, could you confirm this script can generate .gem?
> >
> > > ruby make_gem.rb TARGET_DIRECTORY
> >
> >TARGET_DIRECTORY is a directory that is generated by
> >unzip-ing a zip archive for the Ruby bindings.
>
>
> I tried this but got an error:
>
> C:\Projects\Subversion\dist\gem>ruby make_gem.rb svn-win32-r24296
> make_gem.rb:33: uninitialized constant Svn::Core::VER_NUM (NameError)
> from
> c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/specification.rb:421:in
> initialize'
> from make_gem.rb:30:in `new'
> from make_gem.rb:30
> from make_gem.rb:26:in `chdir'
> from make_gem.rb:26
>
> Do the bindings need to be already installed to run this?

Given the NameError complaint about Svn::Core::VER_NUM, they at least
need to be in Ruby's load/library path.

  • application/pgp-signature attachment: stored
Received on Fri Apr 6 18:15:49 2007

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