Foreman Error creating compute resource

I'm using Ubuntu 14.04. I'm trying to make a compute resource in foreman
using libvirt. I followed the instructions, but I keep getting the
following error when I enter my url: "Unable to save, uninitialized
constant Libvirt".

Any help on how to fix this is greatly appreciated.

Here is output from the log file when I try to test the url when creating a
compute resource:

2016-05-02T08:54:07 [app] [I] Started PUT
"/compute_resources/test_connection" for 127.0.0.1 at 2016-05-02 08:54:07
+0700

2016-05-02T08:54:07 [app] [I] Processing by
ComputeResourcesController#test_connection as /

2016-05-02T08:54:07 [app] [I] Parameters: {"utf8"=>"✓",
"authenticity_token"=>"k0E16W45aQJHl3G4GPQ0QgY6omp6n4Ad7FewtktcA9s=",
"compute_resource"=>{"name"=>"test",
"description"=>"qemu+ssh://root@hypervisor.antothijah.lis.asianhope.org/system",
"url"=>"qemu+ssh://antothijah.lis.asianhope.org", "display_type"=>"VNC",
"set_console_password"=>"[FILTERED]"}, "cr_id"=>"1"}

2016-05-02T08:54:07 [app] [I] CR_ID IS 1

2016-05-02T08:54:07 [app] [I] Rendered
compute_resources/form/_libvirt.html.erb (4.0ms)

2016-05-02T08:54:07 [app] [I] Rendered compute_resources/_form.html.erb
(14.2ms)

2016-05-02T08:54:07 [app] [I] Completed 200 OK in 38ms (Views: 17.8ms |
ActiveRecord: 2.3ms)