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 at 2016-05-02 08:54:07

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

2016-05-02T08:54:07 [app] [I] Parameters: {"utf8"=>"✓",
"url"=>"qemu+ssh://", "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

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