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

Re: Ruby Bindings on OSX

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: 2007-06-07 15:00:13 CEST

galileo:~/dev/subversion_binary/sources/subversion-1.4.3 jwhitlock$
export RUBYLIB=/Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/:/Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/.libs/
galileo:~/dev/subversion_binary/sources/subversion-1.4.3 jwhitlock$
ruby -e 'require
"svn/core"'/Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/svn/error.rb:1:in
`require': no such file to load -- svn/ext/core (LoadError)
        from /Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/svn/error.rb:1
        from /Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/svn/core.rb:4:in
`require'
        from /Users/jwhitlock/dev/subversion_binary/sources/subversion-1.4.3/subversion/bindings/swig/ruby/svn/core.rb:4
        from -e:1:in `require'
        from -e:1

I have also tried the exact same thing above when I've ran "make
install-swig-rb", with different paths of course, but with the same
results. Thanks for the idea but I've already tried it and the
problem is still occuring.

Take care,

Jeremy

On 6/7/07, david x callaway <dxc@pobox.com> wrote:
> I always get that kind of error when I forget to set RUBYLIB to point to
> extra libraries, e.g.
> export RUBYLIB=$HOME/my_ruby_lib_dir
>
> RUBYLIB is a colon-separated string, like PATH, i.e. there can be
> multiple directories
> export RUBYLIB="/home/me/ruby:/opt/ruby-extension/lib"
>
> if it works I imagine you'd set that in an init file somewhere, but I'm
> not a mac guy so I don't know where. the export command may not look
> like that if your shell isn't bash.
>
> Jeremy Whitlock wrote:
> > Hi All,
> > I've been able to successfully compile the Ruby bindings but when
> > I run "make check-swig-rb" I get the following:
> >
> > require': no such file to load -- svn/ext/core (LoadError)
> >
> > Is there any special magic that needs to be applied to make the Ruby
> > bindings work on the Mac? I'm using Ruby 1.8.6, Swig 1.3.31 and
> > Subversion 1.4.3. I've spent a good deal of this googling and such
> > but no one really fixes this that I've found.
> >
> > Take care,
> >
> > Jeremy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 7 15:00:38 2007

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

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