[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: D.J. Heap <djheap_at_gmail.com>
Date: 2007-04-15 00:47:37 CEST

On 4/7/07, Kouhei Sutou <kou@cozmixng.org> wrote:
[snip]
> What about the attached patch?
>
> You can use like the following:
> % ruby make_gem.rb --output-dir=DIST_DIR DIR/README.txt DIR/ruby DIR/licenses DIR/share
>

I've tried this now and I'm getting close, I think, but I'm still
missing something -- invoking it like this:

"ruby.exe" "C:\Projects\Subversion\build\win32\make_gem.rb" --output-dir="dist"
"C:\Projects\Subversion\dist\svn-win32-trunk\README.txt" "C:\Projects\Subversion
\dist\svn-win32-trunk\ruby" "C:\Projects\Subversion\dist\svn-win32-trunk\license
s" "C:\Projects\Subversion\dist\svn-win32-trunk\share"

Results in this error:

c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- svn/ext/core
(LoadError)
        from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from C:/Projects/Subversion/dist/svn-win32-trunk/ruby/lib/svn/error.rb:2
        from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from C:/Projects/Subversion/dist/svn-win32-trunk/ruby/lib/svn/core.rb:6
        from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
        from c:/Ruby18/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
        from C:/Projects/Subversion/build/win32/make_gem.rb:40

The dist tree looks like:

 Directory of C:\Projects\Subversion\dist

04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM <DIR> svn-win32-trunk
               0 File(s) 0 bytes

 Directory of C:\Projects\Subversion\dist\svn-win32-trunk

04/14/2007 04:34 PM <DIR> .
04/14/2007 04:34 PM <DIR> ..
04/14/2007 04:34 PM <DIR> bin
04/14/2007 04:34 PM <DIR> doc
04/14/2007 04:34 PM <DIR> iconv
04/14/2007 04:34 PM <DIR> include
04/14/2007 04:34 PM <DIR> javahl
04/14/2007 04:34 PM <DIR> lib
04/14/2007 04:34 PM <DIR> licenses
04/14/2007 04:34 PM <DIR> perl
04/14/2007 04:34 PM <DIR> python
04/14/2007 04:34 PM <DIR> ruby
04/14/2007 04:34 PM <DIR> share

etc.

I'm not sure if I've got something out of place or what -- any ideas?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 15 00:47:49 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.