Hi

I am trying to implement a svn browser type of function in my
application.I have installed the subversion bindings for Ruby and I am
following
http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/
this site for accessing the subversion repository from my application.

I was testing the steps given in this site using"irb"

I did
require "svn/repos"
Svn::Repos.open(path to a repository which is in my local system")

Everything is working fine

But when i try to open the same repository through and try to access it
like

Svn::Repos.open("http://localhost/svn/my_repo";)

I get an error saying,
Svn::Error::SvnError:
/build/buildd/subversion-1.5.1dfsg1/subversion/libsvn_subr/io.c:2626
Can't open file 'http://localhost/svn/my_repo/format': No such file or
directory
  from /usr/lib/ruby/1.8/svn/util.rb:86:in `svn_repos_open'
  from /usr/lib/ruby/1.8/svn/util.rb:86:in `open'
  from /usr/lib/ruby/1.8/svn/info.rb:72:in `setup'
  from /usr/lib/ruby/1.8/svn/info.rb:34:in `initialize'
  from (irb):3:in `new'
  from (irb):

I am able to checkout ,commit and do all sort of svn related things
using svn command on the shell prompt on this
"http://localhost/svn/my_repo";

Kindly Help me in solving this issue
Thanks in Advance
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to