[DRE-commits] [SCM] ohai.git branch, master, updated. upstream/0.6.10-26-gf34861a

Antonio Terceiro terceiro at debian.org
Sun Apr 29 13:14:26 UTC 2012


The following commit has been merged in the master branch:
commit 3b995a144b04296bc9741ed833451b55ad93c9ca
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Apr 16 19:45:45 2012 -0300

    Adding explicit require statements

diff --git a/spec/ohai/plugins/ruby_spec.rb b/spec/ohai/plugins/ruby_spec.rb
index fdc62c4..634cbb0 100644
--- a/spec/ohai/plugins/ruby_spec.rb
+++ b/spec/ohai/plugins/ruby_spec.rb
@@ -36,6 +36,8 @@ describe Ohai::System, "plugin ruby" do
   end
 
   code = <<-EOS
+  require 'rbconfig'
+  require 'rubygems'
   ruby_bin = File.join(::RbConfig::CONFIG['bindir'], ::RbConfig::CONFIG['ruby_install_name'])
   data = {
     :platform => RUBY_PLATFORM,

-- 
ohai.git



More information about the Pkg-ruby-extras-commits mailing list