opscode/ohai — pull request #117 by gene1wood (2012-12-22 00:17:55+00:00)
Title: [OHAI-126] [OHAI-231] : dealing with trailing slashes in plugin_path

This pull adds in a check and removal of any trailing File::SEPARATORs at the end of any paths in the plugin_paths array to allow passing in an ohai parameter like "--directory /foo/bar/"

I've tested this out and it works. Feel free to test and merge if you like it.