Are bundles of svn rubies as a gem?

I see a couple of dozens of gems that are related to svn, but what little documentation that I can find on any of them shows that they are command line shells and various helpers. (svn-command, svn-hooks, etc.)

I saw code in the wild that does things like: "svn / core" and SVN.Repos.add (...), but the author of this module pulled out his ruby ​​ruby ​​tools through apt-get. This would not be an option for me, as I am developing a windows / osx tool.

This page contains a list of projects, but in particular, I need something that will allow me to access svn + ssh, and I don’t have the time it takes to dig documents for half a dozen projects, trying to load each of them.

What pearl to me? From there I am happy to dig out the code instead of documents, but with the call to gem query --name-matches svn --remote return about 30 hits, I need to narrow it first.

+6
version-control ruby svn gem
source share
1 answer

Exactly what the apt-get command pulled? Was it the bindings themselves (apt-get install libsvn-ruby) or the ruby ​​modules? Since bindings are not ruby ​​modules, they cannot be used by the gem command. You must install them using apt-get or manually download them and install them on your system.

You can try svn_wc, which requires svn_core. And, I suppose svn_core uses SWIG bindings, and Ruby bindings are included when installing Subversion. You can also try svn_tools, which was created by Mark Bates, who wrote Distributed Programming with Ruby. However, I did not find any documentation on svn_tools.

I noticed that the RSCM module, which is a unified way of interacting with various SCM tools, uses the Subversion command line. If there was one tool that I thought would use Subversion API bindings, I thought it would be it, but it also uses the Subversion command line.

+1
source share

All Articles