[Libguestfs] IRC question: Ruby gems

Richard W.M. Jones rjones at redhat.com
Sun Jul 20 18:02:21 UTC 2014


  18:24 < cknapp> rwmjones: is the RPM the best way to grab the guestfs gem?

[Please stay in the channel after asking a question!]

We currently ship the Ruby bindings as an extension in the ruby/
subdirectory of the source tarball.  (Note that because the extension
is mostly generated during the build, you will have to download the
tarball from http://libguestfs.org/download/ which contains the
generated bits; or, much less conveniently, you will have to do a full
build from git).

So there is no gem as such.  In particular there is nothing on
rubygems.org.

However it should be possible to take the ruby/ subdirectory and turn
it into a gem with minimal effort, since it is already in mostly the
right format.  In particular, see the Gem::Specification section in
ruby/Rakefile.

I don't know how the gem relates to the Fedora RPM.  Possibly not at
all.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list