[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: Kouhei Sutou <kou_at_cozmixng.org>
Date: 2007-04-24 08:16:57 CEST

Hi Joe,

In <ae6cb1100704221430m2e25b52clbc9557619826dc46@mail.gmail.com>
  "Re: make_gem.rb" on Sun, 22 Apr 2007 14:30:51 -0700,
  "Joe Swatosh" <joe.swatosh@gmail.com> wrote:

> [[[
> Make the ruby bindings stand alone by adding missing dlls. Make sure make_gem
> can run when dlls aren't alread on path.
>
> * build/win32/make_dist.py
> (_disttree): Add Berkeley DB and SQLite to the ruby/ext/svn/ext required
> files list.

+1.

> * build/win32/make_gem.rb
> add ruby/ext/svn/ext to the path so the require of svn/core will succeed.

-1. Are the following codes needed? svn/util.rb should do
the thing. If svn/util.rb doesn't work, we should fix
svn/util.rb.

Joe, could you try again without the following patch?

> Index: build/win32/make_gem.rb
> ===================================================================
> --- build/win32/make_gem.rb (revision 24695)
> +++ build/win32/make_gem.rb (working copy)
> @@ -35,6 +35,9 @@
> base_dir = File.expand_path(dir)
> $LOAD_PATH.unshift(File.join(base_dir, "ext"))
> $LOAD_PATH.unshift(File.join(base_dir, "lib"))
> + svn_ext_path_win = File.join(base_dir, "ext","svn","ext")
> + svn_ext_path_win.gsub!(File::SEPARATOR, File::ALT_SEPARATOR)
> + ENV['path'] = "#{svn_ext_path_win};#{ENV['path']}"
> end

Thanks,

--
kou
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 24 08:17:17 2007

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.