The code I am using

 username = "*****"
 password = "*****"
 root     = "svn+ssh://******/trunk"

 ctx = Svn::Client::Context.new

 provider = Proc.new do |cred, realm, default, may_save, pool|
  cred.username = username
  cred.password = password
  cred
 end

 cb            = Svn::Ra::Callbacks.new(ctx.auth_baton)
 cb.auth_baton = 
Svn::Core.auth_open([Svn::Client::get_simple_prompt_provider(provider, 
2)])

session = Svn::Ra::Session.open(root, Svn::Core::config_get_config(nil), 
cb)

If anyone got svn bindings auth working please post
-- 
Posted via http://www.ruby-forum.com/.